mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-11 00:08:37 +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']);
|
||||
const data = await getRequestData(event, ['DOMAIN', 'RANGE'], ['EVENTS']);
|
||||
if (!data) return;
|
||||
|
||||
const { pid, from, to, project_id, limit, domain } = data;
|
||||
|
||||
Reference in New Issue
Block a user