Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2eb1c0a

Browse files
committed
remove unnecessary version
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent9688f14 commit2eb1c0a

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

‎src/services/hooks/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const onInit = async (actions: TT.StepActions): Promise<void> => {
1717
awaitrunVSCodeCommands(actions?.vscodeCommands)
1818
webhooks.onInit({
1919
// tutorialId,
20-
version:VERSION,
20+
coderoadVersion:VERSION,
2121
})
2222
}
2323

@@ -53,7 +53,6 @@ export const onReset = async (actions: TT.StepActions): Promise<void> => {
5353
awaitrunVSCodeCommands(actions?.vscodeCommands)
5454
webhooks.onReset({
5555
// tutorialId,
56-
version:VERSION,
5756
})
5857
}
5958

@@ -76,7 +75,6 @@ export const onStepComplete = async ({
7675
telemetry.onEvent('step_complete',{ tutorialId, stepId, levelId,version:VERSION})
7776
webhooks.onStepComplete({
7877
tutorialId,
79-
version:VERSION,
8078
levelId,
8179
stepId,
8280
})
@@ -93,7 +91,6 @@ export const onLevelComplete = async ({
9391
telemetry.onEvent('level_complete',{ tutorialId, levelId,version:VERSION})
9492
webhooks.onLevelComplete({
9593
tutorialId,
96-
version:VERSION,
9794
levelId,
9895
})
9996
}
@@ -103,6 +100,5 @@ export const onTutorialComplete = async ({ tutorialId }: { tutorialId: string })
103100
telemetry.onEvent('tutorial_complete',{ tutorialId,version:VERSION})
104101
webhooks.onTutorialComplete({
105102
tutorialId,
106-
version:VERSION,
107103
})
108104
}

‎src/services/hooks/webhooks.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const callWebhookEndpoint = async <B>(bodyObject: B): Promise<void> => {
2828

2929
typeInitEvent={
3030
// tutorialId: string;
31-
version:string
31+
coderoadVersion:string
3232
}
3333

3434
exportconstonInit=(event:InitEvent):void=>{
@@ -39,7 +39,6 @@ export const onInit = (event: InitEvent): void => {
3939

4040
typeResetEvent={
4141
// tutorialId: string;
42-
version:string
4342
}
4443

4544
exportconstonReset=(event:ResetEvent):void=>{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp