mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 18:24:58 +00:00
Heartbeat API with device token authentication
This commit is contained in:
@@ -11,7 +11,8 @@ class DevicesController < ApplicationController
|
||||
},
|
||||
status: :created
|
||||
else
|
||||
render json: { error: device.errors.full_messages }, status: :unprocessable_entity
|
||||
render json: { error: device.errors.full_messages },
|
||||
status: :unprocessable_entity
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user