mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
Rewrite endpoints + bar cards
This commit is contained in:
@@ -60,7 +60,7 @@ export async function getRequestData(event: H3Event<EventHandlerRequest>, option
|
||||
if (!from || !to) return setResponseStatus(event, 400, 'x-from and x-to are required');
|
||||
|
||||
|
||||
let model: (Model<any> | undefined) = undefined;
|
||||
let model: Model<any> = undefined as any;
|
||||
|
||||
const schemaName = getRequestHeader(event, 'x-schema');
|
||||
if (requireSchema) {
|
||||
|
||||
Reference in New Issue
Block a user