Skip to content

Commit

Permalink
Merge pull request #43 from wireapp/kj/wir-26-bug-with-wire-api-versi…
Browse files Browse the repository at this point in the history
…on-handling

fix: fixed api version fallback
  • Loading branch information
LennardZieglerCONPORT authored Dec 10, 2024
2 parents 266ccd0 + 6fa3d15 commit 34cf557
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* global window */

export const config = window.config;
export const config = {
...window.config,
apiVersion: window.config?.apiVersion || "v5",
};

0 comments on commit 34cf557

Please sign in to comment.