From 141bcbeae961982fb96d74c10e06864cff0507bd Mon Sep 17 00:00:00 2001 From: Jason Greenwood <79181587+Techstyleuk@users.noreply.github.com> Date: Sat, 17 Feb 2024 00:13:43 -0600 Subject: [PATCH] fix: use navigation.courseRhumbline.nextPoint.position in RMB --- hooks/RMB.js | 2 +- test/RMB.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/RMB.js b/hooks/RMB.js index dfe1ba5b..ac1868f0 100644 --- a/hooks/RMB.js +++ b/hooks/RMB.js @@ -77,7 +77,7 @@ module.exports = function (input) { timestamp: tags.timestamp, values: [ { - path: 'navigation.courseRhumbline.nextPoint', + path: 'navigation.courseRhumbline.nextPoint.position', value: { longitude, latitude, diff --git a/test/RMB.js b/test/RMB.js index 612755e4..c853ca23 100644 --- a/test/RMB.js +++ b/test/RMB.js @@ -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',