many visual changes and improvements

This commit is contained in:
Daniel
2023-06-05 13:24:43 +03:30
parent 6a4f21fc0a
commit a9d7303359
24 changed files with 311 additions and 194 deletions
-1
View File
@@ -46,7 +46,6 @@ export default async function (req: NextApiRequest, res: NextApiResponse) {
`data/uploads/avatar/${queryId}.jpg`
);
console.log(filePath);
const file = fs.existsSync(filePath)
? fs.readFileSync(filePath)
: "File not found.";