Skip to content

Commit

Permalink
Log deviceId
Browse files Browse the repository at this point in the history
  • Loading branch information
Keskimaki committed Aug 28, 2023
1 parent aac29d2 commit ffdfa72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ class User extends Model {
async claimDevice(deviceId, deviceDistributedBy) {
const settings = await ServiceStatus.getObject()

console.log('DeviceId', deviceId)

// const validSerial = await validateSerial(deviceId, settings)
// if (!validSerial) throw new ParameterError('Invalid deviceId')

Expand Down

0 comments on commit ffdfa72

Please sign in to comment.