mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-31 08:25:36 +00:00
Fix the default device type.
This commit is contained in:
parent
b9675de9e0
commit
fcc6d1375d
@ -35,7 +35,7 @@ registerDevice = (apiKey, userId, applicationId, deviceType) ->
|
||||
module.exports = ->
|
||||
# Load config file
|
||||
userConfig = require('/boot/config.json')
|
||||
userConfig.deviceType ?= 'Raspberry Pi'
|
||||
userConfig.deviceType ?= 'raspberry-pi'
|
||||
|
||||
Promise.try ->
|
||||
if userConfig.uuid?
|
||||
|
Loading…
x
Reference in New Issue
Block a user