Skip to content

Commit c5f659f

Browse files
committed
docs: update initApi function signature to include Express app parameter
1 parent e305ea3 commit c5f659f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • adminforth/documentation/docs/tutorial/08-Plugins

adminforth/documentation/docs/tutorial/08-Plugins/01-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ type SendEmailBody = {
616616
body: string;
617617
};
618618

619-
export function initApi(admin: IAdminForth) {
619+
export function initApi(app: Express, admin: IAdminForth) {
620620
admin.express.endpoint({
621621
method: 'POST',
622622
path: '/send_email_to_user',

0 commit comments

Comments
 (0)