Skip to content

Commit 7a35af2

Browse files
Update index.ts
1 parent 1631434 commit 7a35af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class TempMail {
120120
* @param domain {string} your domain.
121121
*/
122122
async checkV2CustomDomain(domain: string): Promise<Email[] | undefined> {
123-
return await this.makeRequest("/custom?domain=" + domain).email;
123+
return (await this.makeRequest("/custom?domain=" + domain)).email;
124124
}
125125

126126
/**

0 commit comments

Comments
 (0)