Skip to content

Commit b625c59

Browse files
committed
fix: remove useless function
1 parent 99add33 commit b625c59

2 files changed

Lines changed: 280 additions & 285 deletions

File tree

src/mail/api.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
RecipientWithPublicKey,
1010
base64ToUint8Array,
1111
EmailPublicParameters,
12-
Email,
1312
} from 'internxt-crypto';
1413
import {
1514
MailboxResponse,
@@ -105,10 +104,6 @@ export class MailApi {
105104
return this.client.post(`${this.apiUrl}/emails`, { email, params }, this.headers());
106105
}
107106

108-
async getE2EEmails(): Promise<Email[]> {
109-
return this.client.get(`${this.apiUrl}/emails`, this.headers());
110-
}
111-
112107
async getMailboxes(): Promise<MailboxResponse[]> {
113108
return this.client.get(`${this.apiUrl}/email/mailboxes`, this.headers());
114109
}

0 commit comments

Comments
 (0)