리팩토링
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ngGET } from "../defs";
|
||||
import { GET } from "../defs";
|
||||
import type { structure } from "../../apiStructure/sammoRootAPI";
|
||||
import type { ExtractError, ExtractQuery, ExtractResponse } from "../../apiStructure/defs";
|
||||
|
||||
@@ -9,7 +9,7 @@ type QType = ExtractQuery<BaseAPI>;
|
||||
const argValidator = undefined;
|
||||
const procDecorator = [] as const;
|
||||
|
||||
export const ReqNonce = ngGET<RType, EType, QType>(argValidator)(procDecorator)(
|
||||
export const ReqNonce = GET<RType, EType, QType>(argValidator)(procDecorator)(
|
||||
(query, ctx, req, res) => {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user