Skip to content

Commit cf151f1

Browse files
committed
fix: await async function calls
1 parent bcce249 commit cf151f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ class CoCreateAcme {
295295
}
296296

297297
if (!hosts[host])
298-
hosts[host] = this.getCertificate(host, organization_id);
298+
hosts[host] = await this.getCertificate(host, organization_id);
299299
return hosts[host];
300300
}
301301

0 commit comments

Comments
 (0)