feat: complete current GoChat updates
This commit is contained in:
@@ -4,6 +4,14 @@ class CustomRole extends ApiClient {
|
||||
constructor() {
|
||||
super('custom_roles', { accountScoped: true });
|
||||
}
|
||||
|
||||
create(data) {
|
||||
return super.create({ custom_role: data });
|
||||
}
|
||||
|
||||
update(id, data) {
|
||||
return super.update(id, { custom_role: data });
|
||||
}
|
||||
}
|
||||
|
||||
export default new CustomRole();
|
||||
|
||||
Reference in New Issue
Block a user