backend-plus 2.5.2-betha.25 → 2.5.2-betha.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -401,6 +401,7 @@ export interface AppConfigServer
401
401
  bitacoraTableName: string
402
402
  useCors: boolean //habilita Cross-Origin Resource Sharing
403
403
  allowedHosts:string[] //determina API allowed hosts (necesita habilitar useCors)
404
+ policy?:string
404
405
  }
405
406
  export interface AppConfigDb
406
407
  {
@@ -1127,7 +1127,7 @@ AppBackend.prototype.start = function start(opts){
1127
1127
  username = username.toLowerCase().trim();
1128
1128
  }
1129
1129
  client = await be.getDbClient(req);
1130
- client.query("CALL set_app_user('!login')").execute();
1130
+ await client.query("CALL set_app_user('!login')").execute();
1131
1131
  const {passFieldName, rolFieldName, userFieldName} = be.config.login;
1132
1132
  var infoFieldList=(
1133
1133
  be.config.login.infoFieldList||(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "backend-plus",
3
3
  "description": "Backend for the anti Pareto rule",
4
- "version": "2.5.2-betha.25",
4
+ "version": "2.5.2-betha.27",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/backend-plus",