From 34c87f00214ce3d87ad13efc2e838b02d471cc77 Mon Sep 17 00:00:00 2001 From: hiteshbedre <32206192+hiteshbedre@users.noreply.github.com> Date: Tue, 2 May 2023 01:30:47 +0530 Subject: [PATCH 1/2] discord: corrected regex pattern --- packages/app-store/discord/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-store/discord/config.json b/packages/app-store/discord/config.json index ee93e56aba6bcd..a2e98ad0ee8f22 100644 --- a/packages/app-store/discord/config.json +++ b/packages/app-store/discord/config.json @@ -15,7 +15,7 @@ "label": "{TITLE}", "linkType": "static", "organizerInputPlaceholder": "https://discord.gg/420gg69", - "urlRegExp": "^http(s)?:\\/\\/(www\\.)?(discord.gg|discord.com)\\/[a-zA-Z0-9]*" + "urlRegExp": "^http(s)?:\\/\\/(www\\.)?(discord\\.gg|discord\\.com)\\/[a-zA-Z0-9]+" } }, "description": "Copy your server invite link and start scheduling calls in Discord! Discord is a VoIP and instant messaging social platform. Users have the ability to communicate with voice calls, video calls, text messaging, media and files in private chats or as part of communities.", From 4fe60b054de5293b707b9fb606dd7270219511d6 Mon Sep 17 00:00:00 2001 From: hiteshbedre <32206192+hiteshbedre@users.noreply.github.com> Date: Tue, 2 May 2023 02:03:47 +0530 Subject: [PATCH 2/2] discord: removed redundant pattern --- packages/app-store/discord/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-store/discord/config.json b/packages/app-store/discord/config.json index a2e98ad0ee8f22..d9bb3e8f8fedf7 100644 --- a/packages/app-store/discord/config.json +++ b/packages/app-store/discord/config.json @@ -15,7 +15,7 @@ "label": "{TITLE}", "linkType": "static", "organizerInputPlaceholder": "https://discord.gg/420gg69", - "urlRegExp": "^http(s)?:\\/\\/(www\\.)?(discord\\.gg|discord\\.com)\\/[a-zA-Z0-9]+" + "urlRegExp": "^http(s)?:\\/\\/(www\\.)?discord\\.(gg|com)\\/[a-zA-Z0-9]+" } }, "description": "Copy your server invite link and start scheduling calls in Discord! Discord is a VoIP and instant messaging social platform. Users have the ability to communicate with voice calls, video calls, text messaging, media and files in private chats or as part of communities.",