Skip to content

Commit 4c64717

Browse files
author
Anton Savoskin
committed
fix(sync): return promise for getKeys() method
1 parent 0c173f5 commit 4c64717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/locize.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class Locize implements Provider {
1818

1919
async getKeys(locales: string[]) {
2020
const headers = { 'content-type': 'application/json' };
21-
asyncForEach(locales, async (locale: string) => {
21+
return asyncForEach(locales, async (locale: string) => {
2222
try {
2323
this.locizeKeys[locale] = await request<LocizeKeys>({
2424
headers,

0 commit comments

Comments
 (0)