Skip to content

Commit 06d7b6c

Browse files
Update index.ts
1 parent 33498ea commit 06d7b6c

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);
123+
return await this.makeRequest("/custom?domain=" + domain).email;
124124
}
125125

126126
/**

0 commit comments

Comments
 (0)