Skip to content

Commit

Permalink
Update host.entity.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Nov 28, 2023
1 parent ddf1e54 commit faab4f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hosts/host.entity.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class HostEntity {
*/
constructor (options) {
options && Object.assign(this, options)
this.oid ??= generateOID(+config.oid.length)
this.pid ??= generatePID(+config.pid.length)
this.oid ??= generateOID()
this.pid ??= generatePID()
}
}

0 comments on commit faab4f7

Please sign in to comment.