mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Final test for new push system
This commit is contained in:
@ -77,7 +77,7 @@ const pushRegister = async (
|
||||
accountId,
|
||||
accountFull,
|
||||
serverKey: res.body.server_key,
|
||||
auth
|
||||
auth: instancePush.decode.value === false ? null : auth
|
||||
})
|
||||
|
||||
if (Platform.OS === 'android') {
|
||||
|
@ -29,7 +29,7 @@ export const updateInstancePushDecode = createAsyncThunk(
|
||||
method: 'put',
|
||||
url: `/push/update-decode/${expoToken}/${instance.url}/${instance.account.id}`,
|
||||
body: {
|
||||
auth: disable ? null : instance.push.keys.auth
|
||||
auth: !disable ? null : instance.push.keys.auth
|
||||
},
|
||||
sentry: true
|
||||
})
|
||||
|
Reference in New Issue
Block a user