Browse Source

fix: app settings api correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5444/head
Pranav C 2 years ago
parent
commit
4c990bba2d
  1. 6
      packages/nocodb-nest/src/modules/org-users/org-users.controller.ts

6
packages/nocodb-nest/src/modules/org-users/org-users.controller.ts

@ -148,11 +148,11 @@ export class OrgUsersController {
allowedRoles: [OrgUserRoles.SUPER_ADMIN],
blockApiTokenAccess: true,
})
async appSettingsSet(req, res) {
async appSettingsSet(@Body() body) {
await this.orgUsersService.appSettingsSet({
settings: req.body,
settings: body,
});
res.json({ msg: 'The app settings have been saved' });
return { msg: 'The app settings have been saved' };
}
}

Loading…
Cancel
Save