Use correct error code

This commit is contained in:
Zhiyuan Zheng 2021-12-31 11:38:21 +01:00
parent 89316b3b67
commit 5ec3733369
1 changed files with 1 additions and 1 deletions

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',