Skip to content

Commit

Permalink
add apiMode param to clearDestination interface method.
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj committed Jun 19, 2024
1 parent 3d4a457 commit 04cdf6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,8 @@ module.exports = (theApp: any) => {
appCopy.getCourse = () => {
return courseApi.getCourse()
}
appCopy.clearDestination = () => {
return courseApi.clearDestination()
appCopy.clearDestination = (apiMode?: boolean) => {
return courseApi.clearDestination(apiMode)
}
appCopy.setDestination = (
dest: (PointDestination & { arrivalCircle?: number }) | null
Expand Down

0 comments on commit 04cdf6d

Please sign in to comment.