File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
apps/dashboard/src/components/data-table
packages/stack-shared/src/interface Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ function EditPermissionDialog(props: {
82
82
const promises = permissions . map ( p => {
83
83
if ( values . permissions . includes ( p . id ) ) {
84
84
return props . user . grantPermission ( props . team , p . id ) ;
85
- } else {
85
+ } else if ( props . user . permissions . includes ( p . id ) ) {
86
86
return props . user . revokePermission ( props . team , p . id ) ;
87
87
}
88
88
} ) ;
Original file line number Diff line number Diff line change @@ -786,7 +786,7 @@ export class StackClientInterface {
786
786
session : InternalSession
787
787
) : Promise < TeamPermissionsCrud [ 'Client' ] [ 'Read' ] [ ] > {
788
788
const response = await this . sendClientRequest (
789
- `/team-permissions?team_id=${ options . teamId } ? user_id=me&recursive=${ options . recursive } ` ,
789
+ `/team-permissions?team_id=${ options . teamId } & user_id=me&recursive=${ options . recursive } ` ,
790
790
{ } ,
791
791
session ,
792
792
) ;
You can’t perform that action at this time.
0 commit comments