Skip to content

Commit 1eb89f0

Browse files
committed
fix: remove feature flag from onboarding extension command
1 parent 5659f90 commit 1eb89f0

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

src/constants/commands.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,5 @@ export const ONBOARDING_EXTENSION = {
240240
type: 6,
241241
required: false,
242242
},
243-
{
244-
name: "dev",
245-
description: "Feature flag",
246-
type: 5,
247-
required: false,
248-
},
249243
],
250244
};

src/controllers/onboardingExtensionCommand.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,8 @@ export async function onboardingExtensionCommand(
2222
env: env,
2323
ctx: ExecutionContext
2424
) {
25-
const dev = transformedArgument.devObj?.value || false;
2625
const discordId = transformedArgument.memberObj.user.id.toString();
2726

28-
if (!dev) {
29-
return discordTextResponse(`<@${discordId}> Feature not implemented`);
30-
}
31-
3227
const args: CreateOnboardingExtensionArgs = {
3328
channelId: transformedArgument.channelId,
3429
userId: transformedArgument.userIdObj?.value,

src/utils/onboardingExtension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const createOnboardingExtension = async (
4040

4141
const userDiscordId = args.userId ? args.userId : args.discordId;
4242
const base_url = config(env).RDS_BASE_API_URL;
43-
const createOnboardingExtensionUrl = `${base_url}/requests?dev=true`;
43+
const createOnboardingExtensionUrl = `${base_url}/requests`;
4444

4545
const requestBody = {
4646
userId: userDiscordId,

0 commit comments

Comments
 (0)