mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 14:40:52 +00:00
feat(admin): fill the redacted support report with its redaction guard
This commit is contained in:
1 parent
1af0de5e87
commit
b873ce8bc8
8 files changed
+1801
-5
No files matched your search
@@ -29,7 +29,8 @@ function call(
|
||||
handler: () => Promise<Response>,
|
||||
headers: Record<string, string> = {},
|
||||
) {
|
||||
return apiHandler(handler)(
|
||||
const route = apiHandler(async (_request: NextRequest) => handler());
|
||||
return route(
|
||||
new NextRequest("http://localhost/api/probe", { headers }),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user