Skip to content

Commit

Permalink
fix: use navigation.courseRhumbline.nextPoint.position in RMB
Browse files Browse the repository at this point in the history
  • Loading branch information
Techstyleuk committed Feb 17, 2024
1 parent 08723d2 commit 141bcbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hooks/RMB.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = function (input) {
timestamp: tags.timestamp,
values: [
{
path: 'navigation.courseRhumbline.nextPoint',
path: 'navigation.courseRhumbline.nextPoint.position',
value: {
longitude,
latitude,
Expand Down
2 changes: 1 addition & 1 deletion test/RMB.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('RMB', () => {

delta.updates[0].values.should.contain.an.item.with.property(
'path',
'navigation.courseRhumbline.nextPoint'
'navigation.courseRhumbline.nextPoint.position'
)
delta.updates[0].values.should.contain.an.item.with.property(
'path',
Expand Down

0 comments on commit 141bcbe

Please sign in to comment.