fix event api path

This commit is contained in:
lesion
2023-01-13 22:17:43 +01:00
parent 749c656784
commit e3a9949865
8 changed files with 317 additions and 317 deletions

View File

@@ -113,7 +113,7 @@ export default {
data.edit = true
let event
try {
event = await $axios.$get('/event/' + data.id)
event = await $axios.$get('/event/detail/' + data.id)
if (!$auth.user.is_admin && $auth.user.id !== event.userId) {
error({ statusCode: 401, message: 'Not allowed' })
return {}