Update user data handling in UserIDMiddlewareAD.js and refactor getUserData function
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-04-17 17:00:04 +02:00
parent 7a02f2682c
commit 06b1936840
9 changed files with 163 additions and 118 deletions

View File

@@ -3,7 +3,7 @@ const path = require('path');
const { logger, ErrorLogger, logRequestInfo } = require('../config/logs');
const dataFolderPath = path.join(__dirname, '../data');
const filesToCreate = ['setup.json', 'user.json', 'file_info.json', 'banData.json'];
const filesToCreate = ['setup.json', 'user.json', 'file_info.json', 'banUser.json'];
filesToCreate.forEach((fileName) => {
const filePath = path.join(dataFolderPath, fileName);