Skip to content

Commit

Permalink
fix(get): make data optional
Browse files Browse the repository at this point in the history
EME-5329

Co-authored-by: Gabor Nemeth <gabor.nemeth@emarsys.com>
  • Loading branch information
sonicoder86 and Gabor Nemeth committed Sep 2, 2022
1 parent cbad4de commit e7a37ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request.ts
Expand Up @@ -42,7 +42,7 @@ export class EscherRequest {
}
}

public get<T = any>(path: string, data: any): Promise<TransformedResponse<T>> {
public get<T = any>(path: string, data?: any): Promise<TransformedResponse<T>> {
return this.request('GET', path, data);
}

Expand Down

0 comments on commit e7a37ef

Please sign in to comment.