We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f93d216 commit 8e23e25Copy full SHA for 8e23e25
1 file changed
live-demo/app/index.ts
@@ -1,4 +1,5 @@
1
import express from 'express';
2
+import type { Request, Response } from 'express';
3
import AdminForth, { Filters } from 'adminforth';
4
import type { AdminUser } from 'adminforth';
5
import fs from 'fs';
@@ -181,7 +182,7 @@ if (import.meta.url === `file://${process.argv[1]}`) {
181
182
},
183
184
admin.express.authorize(
- async (req, res) => {
185
+ async (req: Request, res: Response) => {
186
const db = admin.resource('aparts').dataConnector.client;
187
const days = req.body.days || 7;
188
const apartsByDays = await db.prepare(
0 commit comments