PASSAGGIO A VITE !

AGG. 1.1.23
This commit is contained in:
Surya Paolo
2025-03-01 14:14:43 +01:00
parent f0098e57b2
commit bc960d38a1
1044 changed files with 5323 additions and 10823777 deletions

View File

@@ -1,5 +1,5 @@
import { Api } from '@api'
import { IBookedEvent, ICalendarState, IEvents, IOperators } from 'model'
import type { IBookedEvent, ICalendarState, IEvents, IOperators } from 'model'
import { serv_constants } from './Modules/serv_constants'
import { tools } from './Modules/tools'
@@ -217,7 +217,7 @@ export const useCalendarStore = defineStore('CalendarStore', {
async CancelBookingEvent({ ideventbook, notify }: { ideventbook: string, notify: string }) {
console.log('CALSTORE: CancelBookingEvent', ideventbook, notify)
return Api.SendReq('/booking/' + ideventbook + '/' + notify + '/' + process.env.APP_ID, 'DELETE', null)
return Api.SendReq('/booking/' + ideventbook + '/' + notify + '/' + tools.getEnv('VITE_APP_ID'), 'DELETE', null)
.then((res) => {
if (res.status === 200) {
if (res.data.code === serv_constants.RIS_CODE_OK) {