Skip to content

Commit 28b0fe0

Browse files
committed
fix: change message
1 parent bd169df commit 28b0fe0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/commands/createApp/templates/api.ts.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function initApi(app: Express, admin: IAdminForth) {
55

66
// you can use data API to work with your database https://adminforth.dev/docs/tutorial/Customization/dataApi/
77
async (req: Request, res: Response) => {
8-
// req.adminUser to get info about the logged-in admin user
8+
// req.adminUser to get info about the admin users
99
const allUsers = await admin.resource("adminuser").list([]);
1010
res.json({
1111
message: "List of admin user from AdminForth API",

0 commit comments

Comments
 (0)