diff --git a/.example.env b/.example.env index 60aa6c8d..7bcebfd0 100644 --- a/.example.env +++ b/.example.env @@ -127,7 +127,7 @@ RATE_LIMITER_MAX_OVERRIDE=50 PODPING_HIVE_ACCOUNT= PODPING_HIVE_POSTING_KEY= -FCM_GOOGLE_API_PATH_TO_AUTH_JSON= +FCM_GOOGLE_PATH_TO_AUTH_JSON= MAINTENANCE_MODE_ENABLED= # lowercase true to enable MAINTENANCE_MODE_DOWNTIME_EXPECTED= # in minutes diff --git a/package.json b/package.json index 592defcf..6e08638d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "podverse-api", - "version": "4.16.23", + "version": "4.16.25", "description": "Data API, database migration scripts, and backend services for all Podverse models.", "private": true, "contributors": [ diff --git a/src/lib/notifications/fcmGoogleApi.ts b/src/lib/notifications/fcmGoogleApi.ts index 38d573c5..6944c99f 100644 --- a/src/lib/notifications/fcmGoogleApi.ts +++ b/src/lib/notifications/fcmGoogleApi.ts @@ -115,7 +115,7 @@ export const sendFCMGoogleApiNotification = async ( }, android: { notification: { - imageUrl + image: imageUrl } }, apns: { @@ -128,11 +128,12 @@ export const sendFCMGoogleApiNotification = async ( image: imageUrl } }, - webpush: { - headers: { - image: imageUrl - } - } + // webpush apparently does not support image + // webpush: { + // headers: { + // image: imageUrl + // } + // } } }, json: true