Skip to content

Commit 928919e

Browse files
committed
feat: extend API to include all user and current user in response
1 parent 545f5e4 commit 928919e

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
@@ -10,7 +10,7 @@ export function initApi(app: Express, admin: IAdminForth) {
1010
async (req: Request, res: Response) => {
1111
const allUsers = await admin.resource("adminuser").list([]);
1212
res.json({
13-
message: "List of adminuser from AdminForth API",
13+
message: "List of logged-in admin user from AdminForth API",
1414
users: allUsers,
1515
});
1616
}

0 commit comments

Comments
 (0)