diff --git a/routes/api/post.js b/routes/api/post.js index 6cf2ce7..c9d1818 100644 --- a/routes/api/post.js +++ b/routes/api/post.js @@ -2,7 +2,7 @@ export const setup = function (router, con, server) { const PIDS = {}; //[pid]: true/"already_used" function isNotNull(a) { - return typeof a !== "null" && typeof a !== "undefined" && a !== null && a !== undefined + return typeof a !== "undefined" && a !== null } function createPID(){