Browse Source

chore(api): upgrade nc-help

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3563/head
Pranav C 2 years ago
parent
commit
4d530a15e9
  1. 14
      packages/nocodb/package-lock.json
  2. 2
      packages/nocodb/package.json
  3. 4
      packages/nocodb/src/lib/meta/api/utilApis.ts

14
packages/nocodb/package-lock.json generated

@ -70,7 +70,7 @@
"mysql2": "^2.2.5",
"nanoid": "^3.1.20",
"nc-common": "0.0.6",
"nc-help": "0.2.75",
"nc-help": "0.2.76",
"nc-lib-gui": "0.97.0",
"nc-plugin": "0.1.2",
"ncp": "^2.0.0",
@ -15254,9 +15254,9 @@
}
},
"node_modules/nc-help": {
"version": "0.2.75",
"resolved": "https://registry.npmjs.org/nc-help/-/nc-help-0.2.75.tgz",
"integrity": "sha512-fJiqdXb7/kTuocHtndOgJZd84vQOGd1ohkOop/bza4hP1fzdS6yzRpYsSB2du7rErTbo65RXc5qJfupbNmri1A==",
"version": "0.2.76",
"resolved": "https://registry.npmjs.org/nc-help/-/nc-help-0.2.76.tgz",
"integrity": "sha512-vSVQBDfxeGNdztnuKqj4Xd+dIaCYPuulIqH94lIHqUPq12OzrLEbBqVhXTgZ6GhKYWUeiVJBClky0qpWQPQJeg==",
"dependencies": {
"@rudderstack/rudder-sdk-node": "^1.1.3",
"axios": "^0.21.1",
@ -36723,9 +36723,9 @@
"integrity": "sha512-3AryS9uwa5NfISLxMciUonrH7YfXp+nlahB9T7girXIsLQrmwX4MdnuKs32akduCOGpKmjTJSWmATULbuMkbfw=="
},
"nc-help": {
"version": "0.2.75",
"resolved": "https://registry.npmjs.org/nc-help/-/nc-help-0.2.75.tgz",
"integrity": "sha512-fJiqdXb7/kTuocHtndOgJZd84vQOGd1ohkOop/bza4hP1fzdS6yzRpYsSB2du7rErTbo65RXc5qJfupbNmri1A==",
"version": "0.2.76",
"resolved": "https://registry.npmjs.org/nc-help/-/nc-help-0.2.76.tgz",
"integrity": "sha512-vSVQBDfxeGNdztnuKqj4Xd+dIaCYPuulIqH94lIHqUPq12OzrLEbBqVhXTgZ6GhKYWUeiVJBClky0qpWQPQJeg==",
"requires": {
"@rudderstack/rudder-sdk-node": "^1.1.3",
"axios": "^0.21.1",

2
packages/nocodb/package.json

@ -155,7 +155,7 @@
"mysql2": "^2.2.5",
"nanoid": "^3.1.20",
"nc-common": "0.0.6",
"nc-help": "0.2.75",
"nc-help": "0.2.76",
"nc-lib-gui": "0.97.0",
"nc-plugin": "0.1.2",
"ncp": "^2.0.0",

4
packages/nocodb/src/lib/meta/api/utilApis.ts

@ -83,7 +83,9 @@ export async function versionInfo(_req: Request, res: Response) {
}
export function feedbackFormGet(_req: Request, res: Response) {
res.json(feedbackForm());
feedbackForm()
.then((form) => res.json(form))
.catch((e) => res.json({ error: e.message }));
}
export async function appHealth(_: Request, res: Response) {

Loading…
Cancel
Save