feat(work): persist queued tasks before device acceptance
This commit is contained in:
@@ -121,6 +121,7 @@ class CredentialAPI:
|
||||
raise HTTPException(503, "credential_temporarily_unavailable") from None
|
||||
self.require_binding(body.host_id, device["owner"], device["binding_generation"])
|
||||
return no_cache(JSONResponse({"credential_mode": "broker", "protocol_version": 2,
|
||||
"dispatch_protocol": "work-dispatch-v1",
|
||||
"approval_protocol": "work-approval-v1" if self.s.work_remote_approvals_enabled else None,
|
||||
"binding_owner": device["owner"],
|
||||
"binding_generation": device["binding_generation"],
|
||||
|
||||
Reference in New Issue
Block a user