File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -443,13 +443,13 @@ pub enum PartialAuthorizationAnswer {
443443#[ serde( rename_all = "camelCase" ) ]
444444pub struct AuthorizationCall {
445445 /// The principal taking action
446- #[ cfg_attr( feature = "wasm" , tsify( type = "string| {type: string, id: string}" ) ) ]
446+ #[ cfg_attr( feature = "wasm" , tsify( type = "{type: string, id: string}" ) ) ]
447447 principal : Option < JsonValueWithNoDuplicateKeys > ,
448448 /// The action the principal is taking
449- #[ cfg_attr( feature = "wasm" , tsify( type = "string| {type: string, id: string}" ) ) ]
449+ #[ cfg_attr( feature = "wasm" , tsify( type = "{type: string, id: string}" ) ) ]
450450 action : JsonValueWithNoDuplicateKeys ,
451451 /// The resource being acted on by the principal
452- #[ cfg_attr( feature = "wasm" , tsify( type = "string| {type: string, id: string}" ) ) ]
452+ #[ cfg_attr( feature = "wasm" , tsify( type = "{type: string, id: string}" ) ) ]
453453 resource : Option < JsonValueWithNoDuplicateKeys > ,
454454 /// The context details specific to the request
455455 #[ serde_as( as = "MapPreventDuplicates<_, _>" ) ]
You can’t perform that action at this time.
0 commit comments