Skip to content

Commit

Permalink
Merge pull request #27 from Giveth/fix/change_givback_pay_template
Browse files Browse the repository at this point in the history
Updated givback is ready event template
  • Loading branch information
aminlatifi authored Dec 27, 2022
2 parents 7ef8ef0 + 94e0e7a commit d37fc71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions migrations/1660716115917-seedNotificationType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions src/routes/v1/notificationRouter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,7 @@ function sendNotificationTestCases() {

const result = await axios.post(sendNotificationUrl, data, {
headers: {
authorization: getGivethIoBasicAuth(),
authorization: getGivEconomyBasicAuth(),
},
});
assert.equal(result.status, 200);
Expand All @@ -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
Expand Down

0 comments on commit d37fc71

Please sign in to comment.