diff --git a/migrations/1660716115917-seedNotificationType.ts b/migrations/1660716115917-seedNotificationType.ts index 8d1d29c..6522d75 100644 --- a/migrations/1660716115917-seedNotificationType.ts +++ b/migrations/1660716115917-seedNotificationType.ts @@ -948,7 +948,7 @@ export const GivethNotificationTypes = { title: 'GIVback', description: 'When GIVback is ready to be claimed after each round', showOnSettingPage: true, - microService: MICRO_SERVICES.givethio, + microService: MICRO_SERVICES.givEconomyNotificationMicroService, category: NOTIFICATION_CATEGORY.GIV_ECONOMY, icon: 'IconGIVBack', schemaValidator: SCHEMA_VALIDATORS_NAMES.GIV_BACK_IS_READY_TO_CLAIM, @@ -980,7 +980,7 @@ export const GivethNotificationTypes = { }, ], content: - 'Your GIVback {amount} GIV is ready to claim! \n{Click here} to take a shortcut.', + 'Your GIVback {amount} GIV is ready to claim! \n[Click here] to take a shortcut.', }, PROJECT_EDITED: { name: 'Project edited', diff --git a/src/routes/v1/notificationRouter.test.ts b/src/routes/v1/notificationRouter.test.ts index 70411db..6b09e42 100644 --- a/src/routes/v1/notificationRouter.test.ts +++ b/src/routes/v1/notificationRouter.test.ts @@ -1445,7 +1445,7 @@ function sendNotificationTestCases() { const result = await axios.post(sendNotificationUrl, data, { headers: { - authorization: getGivethIoBasicAuth(), + authorization: getGivEconomyBasicAuth(), }, }); assert.equal(result.status, 200); @@ -1468,7 +1468,7 @@ function sendNotificationTestCases() { await axios.post(sendNotificationUrl, data, { headers: { - authorization: getGivethIoBasicAuth(), + authorization: getGivEconomyBasicAuth(), }, }); // If request doesn't fail, it means this test failed