From d13a6b45e62ebaf6eae7362f389d74acd9770af9 Mon Sep 17 00:00:00 2001 From: xfarrow Date: Thu, 14 Mar 2024 11:29:21 +0100 Subject: [PATCH] file name change --- backend/apis/nodejs/src/routes/organization_admin_routes.js | 2 +- backend/apis/nodejs/src/routes/organization_post_routes.js | 2 +- backend/apis/nodejs/src/routes/organization_routes.js | 2 +- backend/apis/nodejs/src/routes/person_routes.js | 2 +- .../apis/nodejs/src/utils/{middleware_utils.js => jwt_utils.js} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename backend/apis/nodejs/src/utils/{middleware_utils.js => jwt_utils.js} (100%) diff --git a/backend/apis/nodejs/src/routes/organization_admin_routes.js b/backend/apis/nodejs/src/routes/organization_admin_routes.js index 44d4749..961dfee 100644 --- a/backend/apis/nodejs/src/routes/organization_admin_routes.js +++ b/backend/apis/nodejs/src/routes/organization_admin_routes.js @@ -13,7 +13,7 @@ const organizationAdminModel = require('../models/organization_admin_model'); const express = require('express'); -const jwtUtils = require('../utils/middleware_utils'); +const jwtUtils = require('../utils/jwt_utils'); const organizationAdminValidator = require('../utils/validators/organization_admin_validator'); /** diff --git a/backend/apis/nodejs/src/routes/organization_post_routes.js b/backend/apis/nodejs/src/routes/organization_post_routes.js index 73ab9e2..79d4ee5 100644 --- a/backend/apis/nodejs/src/routes/organization_post_routes.js +++ b/backend/apis/nodejs/src/routes/organization_post_routes.js @@ -26,7 +26,7 @@ const organizationPostModel = require('../models/organization_post_model'); const express = require('express'); -const jwtUtils = require('../utils/middleware_utils'); +const jwtUtils = require('../utils/jwt_utils'); /** * POST Request diff --git a/backend/apis/nodejs/src/routes/organization_routes.js b/backend/apis/nodejs/src/routes/organization_routes.js index 0cdc1b3..77088c0 100644 --- a/backend/apis/nodejs/src/routes/organization_routes.js +++ b/backend/apis/nodejs/src/routes/organization_routes.js @@ -13,7 +13,7 @@ const organizationModel = require('../models/organization_model'); const express = require('express'); -const jwtUtils = require('../utils/middleware_utils'); +const jwtUtils = require('../utils/jwt_utils'); const organizationValidator = require('../utils/validators/organization_validator'); /** diff --git a/backend/apis/nodejs/src/routes/person_routes.js b/backend/apis/nodejs/src/routes/person_routes.js index fc03059..dbd38f4 100644 --- a/backend/apis/nodejs/src/routes/person_routes.js +++ b/backend/apis/nodejs/src/routes/person_routes.js @@ -12,7 +12,7 @@ */ const personValidator = require('../utils/validators/person_validator'); -const jwtUtils = require('../utils/middleware_utils'); +const jwtUtils = require('../utils/jwt_utils'); const bcrypt = require('bcrypt'); const crypto = require('crypto'); const personModel = require('../models/person_model'); diff --git a/backend/apis/nodejs/src/utils/middleware_utils.js b/backend/apis/nodejs/src/utils/jwt_utils.js similarity index 100% rename from backend/apis/nodejs/src/utils/middleware_utils.js rename to backend/apis/nodejs/src/utils/jwt_utils.js