mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-09 23:48:36 +01:00
refactoring
This commit is contained in:
@@ -4,7 +4,7 @@ import { Redis } from "~/server/services/CacheService";
|
||||
export default defineEventHandler(async event => {
|
||||
|
||||
|
||||
const data = await getRequestData(event, ['GUEST', 'DOMAIN', 'RANGE', 'SCHEMA']);
|
||||
const data = await getRequestData(event, ['DOMAIN', 'RANGE', 'SCHEMA'], ['WEB']);
|
||||
if (!data) return;
|
||||
|
||||
const { schemaName, pid, from, to, model, project_id, domain } = data;
|
||||
|
||||
Reference in New Issue
Block a user