Skip to content

Commit

Permalink
fix for arrivalCircle test failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj committed Jun 20, 2024
1 parent 04cdf6d commit 61c49c7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/api/course/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1031,16 +1031,17 @@ export class CourseApi {
}

private emitCourseInfo(noSave = false, ...paths: string[]) {
this.app.handleMessage(
'courseApi',
this.buildV1DeltaMsg(paths),
SKVersion.v1
)
this.app.handleMessage('courseApi', this.buildDeltaMsg(paths), SKVersion.v2)
if (!noSave) {
this.store.write(this.courseInfo).catch((error) => {
console.log(error)
})
}
this.app.handleMessage(
'courseApi',
this.buildV1DeltaMsg(paths),
SKVersion.v1
)

}
}

0 comments on commit 61c49c7

Please sign in to comment.