1
0
mirror of https://github.com/tooot-app/app synced 2025-04-19 04:37:24 +02:00

Use correct error code

This commit is contained in:
Zhiyuan Zheng 2021-12-31 11:38:21 +01:00
parent 89316b3b67
commit 5ec3733369

View File

@ -29,7 +29,7 @@ const pushUseConnect = ({ mode, t, instances, dispatch }: Params) => {
url: `push/connect/${expoToken}`,
sentry: true
}).catch(error => {
if (error.status == 410) {
if (error.status == 404) {
displayMessage({
mode,
type: 'error',