Browse Source

refactor(nocodb): revise return response

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
2c0b5e260d
  1. 2
      packages/nocodb/src/lib/controllers/orgLicense.ctl.ts
  2. 2
      packages/nocodb/src/lib/controllers/orgUser.ctl.ts

2
packages/nocodb/src/lib/controllers/orgLicense.ctl.ts

@ -10,7 +10,7 @@ async function licenseGet(_req, res) {
async function licenseSet(req, res) {
await orgLicenseService.licenseSet({ key: req.body.key });
res.json({ msg: 'License key saved' });
res.json({ msg: 'The license key has been saved' });
}
const router = Router({ mergeParams: true });

2
packages/nocodb/src/lib/controllers/orgUser.ctl.ts

@ -79,7 +79,7 @@ async function appSettingsSet(req, res) {
settings: req.body,
});
res.json({ msg: 'Settings saved' });
res.json({ msg: 'The app settings have been saved' });
}
const router = Router({ mergeParams: true });

Loading…
Cancel
Save