Skip to content

Commit

Permalink
resources: in Messages fix get as eml return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Nov 17, 2023
1 parent 3492458 commit 9caf65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/api/resources/Messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default class MessagesApi {
public async getMessageAsEml(inboxId: number, messageId: number) {
const url = `${this.messagesURL}/${inboxId}/messages/${messageId}/body.eml`;

return this.client.get<string>(url);
return this.client.get<string, string>(url);
}

/**
Expand Down

0 comments on commit 9caf65c

Please sign in to comment.