Ver código fonte

bug #1915

tags/v0.11.0
Shaun 2 anos atrás
pai
commit
3e22d3973d
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/server/security/router.js

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

@@ -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;



Carregando…
Cancelar
Salvar