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:
parent
89316b3b67
commit
5ec3733369
@ -29,7 +29,7 @@ const pushUseConnect = ({ mode, t, instances, dispatch }: Params) => {
|
|||||||
url: `push/connect/${expoToken}`,
|
url: `push/connect/${expoToken}`,
|
||||||
sentry: true
|
sentry: true
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
if (error.status == 410) {
|
if (error.status == 404) {
|
||||||
displayMessage({
|
displayMessage({
|
||||||
mode,
|
mode,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user