File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ services:
4646 - label=disable
4747
4848 tiled :
49- image : ghcr.io/bluesky/tiled:0.2.4
49+ image : ghcr.io/bluesky/tiled:0.2.12
5050 network_mode : host # Port 8407
5151 environment :
5252 - PYTHONPATH=/deploy/
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ def _check_principal(principal: Principal | None):
3333 detail = "Principal is None" ,
3434 headers = {"WWW-Authenticate" : "Bearer" },
3535 )
36- if principal .type != PrincipalType .external :
36+ if principal .type != PrincipalType .user :
3737 raise HTTPException (
3838 status_code = HTTP_401_UNAUTHORIZED ,
39- detail = f"Principal of type { PrincipalType .external } "
39+ detail = f"Principal of type { PrincipalType .user } "
4040 f" required but given { principal .type } " ,
4141 headers = {"WWW-Authenticate" : "Bearer" },
4242 )
@@ -121,7 +121,7 @@ def build_input(
121121
122122 if (
123123 isinstance (principal , Principal )
124- and principal .type is PrincipalType .external
124+ and principal .type is PrincipalType .user
125125 and principal .access_token is not None
126126 ):
127127 _input ["token" ] = principal .access_token .get_secret_value ()
You can’t perform that action at this time.
0 commit comments