Shaun 2 lat temu
rodzic
commit
3e22d3973d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/server/security/router.js

+ 1
- 1
src/server/security/router.js Wyświetl plik

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



Ładowanie…
Anuluj
Zapisz