finished object endpoints

Added writing (tested) and deleting (untested) endpoints
This commit is contained in:
DecDuck
2024-10-09 15:08:55 +11:00
parent 435551c207
commit 486bce8bc7
7 changed files with 59 additions and 25 deletions

View File

@ -41,7 +41,7 @@ export default defineEventHandler(async (h3) => {
const user = await prisma.user.create({
data: {
username,
displayName: "",
displayName: "DecDuck",
email: "",
profilePicture: profilePictureObject,
},