Added client side realtime for calendars
This commit is contained in:
@@ -23,6 +23,8 @@ export default defineEventHandler(async (event) => {
|
||||
}
|
||||
|
||||
if (bodyError) {
|
||||
console.log(bodyData)
|
||||
console.log(bodyError)
|
||||
const error = createError({
|
||||
cause: "Utilisateur",
|
||||
fatal: false,
|
||||
|
||||
@@ -29,6 +29,7 @@ export default defineEventHandler(async (event) => {
|
||||
name: bodyData.name,
|
||||
today: bodyData.today,
|
||||
color: bodyData.color,
|
||||
state: bodyData.state,
|
||||
world_id: bodyData.worldId
|
||||
} as never
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user