access endpoint tweaks (#834)

This commit is contained in:
Michael Quigley
2025-02-03 17:09:42 -05:00
parent 0fc139e6d9
commit 0a8c5f2054
23 changed files with 631 additions and 123 deletions

View File

@ -106,7 +106,7 @@ func (h *accessHandler) Handle(params share.AccessParams, principal *rest_model_
return share.NewAccessInternalServerError()
}
return share.NewAccessCreated().WithPayload(&rest_model_zrok.AccessResponse{
return share.NewAccessCreated().WithPayload(&share.AccessCreatedBody{
FrontendToken: feToken,
BackendMode: shr.BackendMode,
})