fix path depth for payments/[item] api

This commit is contained in:
Alexander Bocken 2023-07-24 23:05:50 +02:00
parent 6ecf859102
commit 118d53e64e
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -1,6 +1,6 @@
import type { RequestHandler } from '@sveltejs/kit'; import type { RequestHandler } from '@sveltejs/kit';
import { Payment } from '../../../../models/Payment'; import { Payment } from '../../../../../models/Payment';
import { dbConnect, dbDisconnect } from '../../../../utils/db'; import { dbConnect, dbDisconnect } from '../../../../../utils/db';
import { error } from '@sveltejs/kit'; import { error } from '@sveltejs/kit';
import { authenticateUser } from '$lib/js/authenticate'; import { authenticateUser } from '$lib/js/authenticate';
// header: use for bearer token for now // header: use for bearer token for now