INNER CODE UNIT · JavaScript

setupWebhook

alohe/quicky · index.js:637

async function setupWebhook(repo) {
	const config = readConfig();

	if (
		!config.webhook ||
		!config.webhook.webhookUrl ||
		!config.webhook.webhookPort ||
		!config.webhook.secret
	) {
		log(
			chalk.yellow(
				"Webhook server is not fully configured. Please set up the webhook server first.",
			),
		);

		const { confirmWebhookSetup } = await inquirer.prompt([
			{
				type: "confirm",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…