diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-04-04 08:46:54 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-04-04 08:46:54 +0900 |
| commit | d4a630902d8d250b67fcd0ce2b49240786b40368 (patch) | |
| tree | b87395691e52e3b86ce40196993d492c694c5e79 /src/services | |
| parent | enhance(server): Log error message when internal error occured (diff) | |
| download | misskey-d4a630902d8d250b67fcd0ce2b49240786b40368.tar.gz misskey-d4a630902d8d250b67fcd0ce2b49240786b40368.tar.bz2 misskey-d4a630902d8d250b67fcd0ce2b49240786b40368.zip | |
refactor: Use ===
Diffstat (limited to 'src/services')
| -rw-r--r-- | src/services/push-notification.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/push-notification.ts b/src/services/push-notification.ts index fa7cacfdc4..f0d9c4e22c 100644 --- a/src/services/push-notification.ts +++ b/src/services/push-notification.ts @@ -36,7 +36,7 @@ export default async function(userId: string, type: string, body?: any) { //swLogger.info(err.headers); //swLogger.info(err.body); - if (err.statusCode == 410) { + if (err.statusCode === 410) { SwSubscriptions.delete({ userId: userId, endpoint: subscription.endpoint, |