Merge branch 'dev' of gitea.51mars.com:Oak-Team/oak-backend-base into dev
This commit is contained in:
commit
18f7e30ac4
|
|
@ -345,7 +345,7 @@ export class AppLoader<ED extends EntityDict & BaseEntityDict, Cxt extends Backe
|
|||
endPointRouters.push(
|
||||
[name, method, url, async (params, headers, req, body) => {
|
||||
|
||||
let result: string | NodeJS.ReadableStream
|
||||
let result: any
|
||||
if (type == "custom") {
|
||||
result = await fn(() => this.makeContext(undefined, headers), params, headers, req, body);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue