diff --git a/package.json b/package.json index 0412ea0d0..63de1f924 100644 --- a/package.json +++ b/package.json @@ -132,7 +132,7 @@ "multiselect-react-dropdown": "^2.0.25", "object-to-formdata": "^4.5.1", "path-browserify": "^1.0.1", - "pl-api": "^0.0.21", + "pl-api": "^0.0.22", "postcss": "^8.4.29", "process": "^0.11.10", "punycode": "^2.1.1", diff --git a/src/reducers/push-notifications.ts b/src/reducers/push-notifications.ts index 637227371..ed12522af 100644 --- a/src/reducers/push-notifications.ts +++ b/src/reducers/push-notifications.ts @@ -5,7 +5,7 @@ import { SET_BROWSER_SUPPORT, SET_SUBSCRIPTION, CLEAR_SUBSCRIPTION, SET_ALERTS } import type { SetterAction } from 'soapbox/actions/push-notifications/setter'; const SubscriptionRecord = ImmutableRecord({ - id: 0, + id: '', endpoint: '', }); diff --git a/yarn.lock b/yarn.lock index e73750fb6..ff37f15fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8385,10 +8385,10 @@ pkg-types@^1.0.3: mlly "^1.2.0" pathe "^1.1.0" -pl-api@^0.0.21: - version "0.0.21" - resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.21.tgz#1b1b9465fe8779969ebf05c77a781df7156c62a4" - integrity sha512-os0Em81tVJQDT/8GtWjmBIvqsR3bbBDhlt55StATyJLHb/OFDpBZ4xa7FctwBQxg7R3MrtbKnpOh1wFmzNraew== +pl-api@^0.0.22: + version "0.0.22" + resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.22.tgz#1c8eedc70198a292bf86182a2ec677386f7ade6d" + integrity sha512-yDjoXuzvfsukuYdvxhExfWfE1CRzLzKypgRv6YK8L5C8KzkFjEhjYQFLref1dBGGta0kCUIZNDi+rk0l9j3x4g== dependencies: blurhash "^2.0.5" http-link-header "^1.1.3"