From 1d281692832c2ba509486f23ec9bb8775a46b5e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Thu, 2 Feb 2023 17:15:01 +0100 Subject: [PATCH] Remove extra ) in GitHub new file page URL --- bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.ts b/bot.ts index 289ca23..974bb5c 100644 --- a/bot.ts +++ b/bot.ts @@ -162,7 +162,7 @@ export const bot: ApplicationFunction = (app) => { const baseUrl = `${payload.pull_request.head.repo.html_url}/new/main/playlists/registry/FOO`; const linkList = urlFilenameEntries.map(({ url }) => { const playlistId = getPlaylistIdFromUrl(url); - const createFilePageUrl = `${baseUrl}?filename=${playlistId}&value=REMOVE%20THIS%20TEXT%20FIRST)`; + const createFilePageUrl = `${baseUrl}?filename=${playlistId}&value=REMOVE%20THIS%20TEXT%20FIRST`; return `\t- [Create \`${playlistId}\`](${createFilePageUrl})`; });