unfinished image API

This commit is contained in:
Tzvetan Trave
2025-10-17 20:06:54 +02:00
parent a265583d4d
commit 0fdbc96dc4
15 changed files with 518 additions and 31 deletions

9
src/api/user/dAvatar.js Normal file
View File

@ -0,0 +1,9 @@
export async function dAvatar(request, reply, fastify, deleteAvatarId) {
try {
;
return reply.code(200).send({ msg: "Avatar deleted successfully" });
} catch (err) {
fastify.log.error(err);
return reply.code(500).send({ error: "Internal server error" });
}
}