Explorar el Código

bug #1915

tags/v0.11.0
Shaun hace 2 años
padre
commit
3e22d3973d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/server/security/router.js

+ 1
- 1
src/server/security/router.js Ver fichero

@@ -45,7 +45,7 @@ module.exports = {

keysCorrect: function (obj, keys) {
const foundIncorrect = keys.some(({ key, dataType, optional, spec }) => {
if (!obj.hasOwnProperty(key)) {
if (!Object.hasOwnProperty.call(obj, key)) {
if (optional)
return false;



Cargando…
Cancelar
Guardar