Skip to content

Commit

Permalink
Add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Jan 18, 2025
1 parent 6f1cf23 commit 6d7e894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fontra/client/core/backend-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class AbstractBackend {

class PythonBackend extends AbstractBackend {
static async getProjects() {
return fetchJSON("/projectlist");
return await fetchJSON("/projectlist");
}

static async _callServerAPI(functionName, kwargs) {
Expand Down

0 comments on commit 6d7e894

Please sign in to comment.