Browse Source

refactor(nocodb): revise return msg

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
e61c21b4c5
  1. 4
      packages/nocodb/src/lib/controllers/metaDiff.ctl.ts

4
packages/nocodb/src/lib/controllers/metaDiff.ctl.ts

@ -18,7 +18,7 @@ export async function baseMetaDiff(req, res) {
export async function metaDiffSync(req, res) {
await metaDiffService.metaDiffSync({ projectId: req.params.projectId });
res.json({ msg: 'success' });
res.json({ msg: 'The meta has been synchronized successfully' });
}
export async function baseMetaDiffSync(req, res) {
@ -27,7 +27,7 @@ export async function baseMetaDiffSync(req, res) {
baseId: req.params.baseId,
});
res.json({ msg: 'success' });
res.json({ msg: 'The base meta has been synchronized successfully' });
}
const router = Router();

Loading…
Cancel
Save