judge: update files api endpoint

This commit is contained in:
undefined committed 2024-01-04 17:38:30 +08:00
1 parent 2de1151b24
commit 3ede50a237
3 files changed
+10 -13

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ export interface KoaContext extends Koa.Context {
request: Koa.Request & { body: any, files: Files };
session: Record<string, any>;
render: (name: string, args: any) => Promise<void>;
renderHTML: (name: string, args: any) => Promise<string>;
renderHTML: (name: string, args: any) => string | Promise<string>;
getUrl: (name: string, args: any) => string;
translate: (key: string) => string;
}