fix dependecies

This commit is contained in:
Hongbo Wu
2023-08-11 11:12:03 +08:00
parent 923669ca97
commit 55841e595f
3 changed files with 5 additions and 4 deletions

View File

@ -93,7 +93,8 @@ export const saveNewsletterEmail = async (
name: 'Newsletter',
color: '#07D2D1',
})
logger.info('newsletter label added:', result)
logger.info('newsletter label added: %o', result)
// sends push notification
const deviceTokens = await getDeviceTokensByUserId(newsletterEmail.user.id)

View File

@ -505,9 +505,9 @@ export const fetchFavicon = async (
return `https://api.faviconkit.com/${domain}/128`
} catch (e) {
if (axios.isAxiosError(e)) {
logger.error('failed to get favicon', e.response)
logger.info('failed to get favicon', e.response)
} else {
logger.error('failed to get favicon', e)
logger.info('failed to get favicon', e)
}
return undefined
}

View File

@ -15,7 +15,7 @@
"dev": "concurrently \"tsc -w\" \"nodemon --watch ./build/ --exec npm run start\""
},
"devDependencies": {
"@types/urlsafe-base64": "^1.0.0",
"@types/urlsafe-base64": "^1.0.28",
"chai": "^4.3.6",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^10.0.0",