bugs fixed

This commit is contained in:
daniel31x13
2023-10-26 18:49:46 -04:00
parent 966136dab6
commit ea86737835
7 changed files with 88 additions and 38 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export default async function exportData(userId: number) {
if (!user) return { response: "User not found.", status: 404 };
const { password, id, image, ...userData } = user;
const { password, id, ...userData } = user;
function redactIds(obj: any) {
if (Array.isArray(obj)) {