From 3ecffaef087aca2b5428a282b32261adf8127954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 19 Aug 2024 21:13:07 +0200 Subject: [PATCH] hotfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- package.json | 2 +- src/reducers/auth.ts | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 6d3296971..4385cfe25 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "multiselect-react-dropdown": "^2.0.25", "object-to-formdata": "^4.5.1", "path-browserify": "^1.0.1", - "pl-api": "^0.0.7", + "pl-api": "^0.0.8", "postcss": "^8.4.29", "process": "^0.11.10", "punycode": "^2.1.1", diff --git a/src/reducers/auth.ts b/src/reducers/auth.ts index b39ff991b..6e2736501 100644 --- a/src/reducers/auth.ts +++ b/src/reducers/auth.ts @@ -35,7 +35,7 @@ const ReducerRecord = ImmutableRecord({ tokens: ImmutableMap(), users: ImmutableMap(), me: null as string | null, - client: null as any as PlApiClient, + client: new PlApiClient(backendUrl) as any as PlApiClient, }); type AuthUser = ReturnType; diff --git a/yarn.lock b/yarn.lock index 17bbd5bc2..03c9f4026 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8390,10 +8390,10 @@ pkg-types@^1.0.3: mlly "^1.2.0" pathe "^1.1.0" -pl-api@^0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.7.tgz#603dbe8d0c2b8ec0e500fe5eae26e30d77f958ba" - integrity sha512-8Wh+uIyfcHhLLOT9s8i/Rjh/vcmjio7OEqNsUbYpJD/9n4TgW1zj/hOImlqGFDhGVdteAUx9cVr4jjQbLhtG/A== +pl-api@^0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.8.tgz#8ccf422da7116fdf93e6d642b59e44e8ee7b978b" + integrity sha512-OJs0S4Z8bIgXJj/2U+BKX0hCyBnOcTn2I2IwRMfVXe7a+KetiF/loO4CslXh30d+0qN/vyYKg4X2/9jzJ56sgQ== dependencies: blurhash "^2.0.5" http-link-header "^1.1.3"