mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2026-01-01 06:06:41 +01:00
unfinished image API
This commit is contained in:
9
src/api/user/dAvatar.js
Normal file
9
src/api/user/dAvatar.js
Normal 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" });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user