Browse Source

fix: downgrade colors to avoid infinite loop

re #934

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/936/head
Pranav C 3 years ago
parent
commit
6d394628fc
  1. 6
      packages/nocodb/package-lock.json
  2. 4
      packages/nocodb/package.json
  3. 2
      packages/nocodb/src/lib/noco/rest/RestAuthCtrl.ts

6
packages/nocodb/package-lock.json generated

@ -1,12 +1,12 @@
{ {
"name": "nocodb", "name": "nocodb",
"version": "0.84.2", "version": "0.84.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "nocodb", "name": "nocodb",
"version": "0.84.2", "version": "0.84.3",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"dependencies": { "dependencies": {
"@google-cloud/storage": "^5.7.2", "@google-cloud/storage": "^5.7.2",
@ -22,7 +22,7 @@
"clear": "^0.1.0", "clear": "^0.1.0",
"cli-table3": "^0.6.0", "cli-table3": "^0.6.0",
"cluster": "^0.7.7", "cluster": "^0.7.7",
"colors": "^1.4.0", "colors": "1.4.0",
"cookie-parser": "^1.4.5", "cookie-parser": "^1.4.5",
"cors": "^2.8.5", "cors": "^2.8.5",
"cron": "^1.8.2", "cron": "^1.8.2",

4
packages/nocodb/package.json

@ -1,6 +1,6 @@
{ {
"name": "nocodb", "name": "nocodb",
"version": "0.84.3", "version": "0.84.4",
"description": "NocoDB", "description": "NocoDB",
"main": "dist/bundle.js", "main": "dist/bundle.js",
"repository": "https://github.com/nocodb/nocodb", "repository": "https://github.com/nocodb/nocodb",
@ -103,7 +103,7 @@
"clear": "^0.1.0", "clear": "^0.1.0",
"cli-table3": "^0.6.0", "cli-table3": "^0.6.0",
"cluster": "^0.7.7", "cluster": "^0.7.7",
"colors": "^1.4.0", "colors": "1.4.0",
"cookie-parser": "^1.4.5", "cookie-parser": "^1.4.5",
"cors": "^2.8.5", "cors": "^2.8.5",
"cron": "^1.8.2", "cron": "^1.8.2",

2
packages/nocodb/src/lib/noco/rest/RestAuthCtrl.ts

@ -912,7 +912,7 @@ export default class RestAuthCtrl {
if (!(await this.users.first())) { if (!(await this.users.first())) {
// todo: update in nc_store // todo: update in nc_store
// roles = 'owner,creator,editor' // roles = 'owner,creator,editor'
Tele.emit('evt', { evt_type: 'user:first_signup' }); Tele.emit('evt', { evt_type: 'project:invite', count: 1 });
} else { } else {
if (process.env.NC_INVITE_ONLY_SIGNUP) { if (process.env.NC_INVITE_ONLY_SIGNUP) {
return next( return next(

Loading…
Cancel
Save