Skip to content

Commit 5bdbda3

Browse files
committed
fix: improve email adapter type
1 parent 3d626fb commit 5bdbda3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adminforth/types/Adapters.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ export interface EmailAdapter {
77
text: string,
88
html: string,
99
subject: string
10-
): Promise<void>;
10+
): Promise<{
11+
error?: string;
12+
ok?: boolean;
13+
}>;
1114
}
1215

1316
export interface CompletionAdapter {

0 commit comments

Comments
 (0)