Skip to content

Commit

Permalink
Update key in frontend request
Browse files Browse the repository at this point in the history
  • Loading branch information
pavish committed Sep 25, 2024
1 parent 8127a3d commit 6071504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mathesar_ui/src/api/rpc/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const roles = {
set_members: rpcMethodTypeContainer<
{
database_id: RawDatabase['id'];
role_oid: RawRole['oid'];
parent_role_oid: RawRole['oid'];
members: RawRole['oid'][];
},
RawRole
Expand Down
2 changes: 1 addition & 1 deletion mathesar_ui/src/models/Role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class Role {
const promise = api.roles
.set_members({
database_id: this.database.id,
role_oid: this.oid,
parent_role_oid: this.oid,
members: [...memberOids],
})
.run();
Expand Down

0 comments on commit 6071504

Please sign in to comment.