Skip to content

Commit 54ad846

Browse files
committed
use internal reach implementation
1 parent 88f251d commit 54ad846

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/comms/host-op.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const Hoek = require('@hapi/hoek')
1+
const reach = require('../utils/reach')
22
const debug = require('debug')('dataparty.op.host-op')
33
const moment = require('moment')
44
const EventEmitter = require('eventemitter3')
@@ -37,11 +37,11 @@ class Op extends EventEmitter {
3737
}
3838

3939
get op(){
40-
return Hoek.reach(this.input, 'op')
40+
return reach(this.input, 'op')
4141
}
4242

4343
get id(){
44-
return Hoek.reach(this.input, 'id')
44+
return reach(this.input, 'id')
4545
}
4646

4747

0 commit comments

Comments
 (0)