Skip to content

Commit

Permalink
fix(sync): return promise for getKeys() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Savoskin committed Jun 17, 2019
1 parent 0c173f5 commit 4c64717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/locize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class Locize implements Provider {

async getKeys(locales: string[]) {
const headers = { 'content-type': 'application/json' };
asyncForEach(locales, async (locale: string) => {
return asyncForEach(locales, async (locale: string) => {
try {
this.locizeKeys[locale] = await request<LocizeKeys>({
headers,
Expand Down

0 comments on commit 4c64717

Please sign in to comment.