From 6626850b003dc287d713f82b74ccf75d5fdfbc1e Mon Sep 17 00:00:00 2001 From: Mohammad Ranjbar Z Date: Sun, 25 Dec 2022 10:57:37 +0330 Subject: [PATCH] Change category og givPower notifications to givEconomy https://github.com/Giveth/giveth-dapps-v2/issues/477#issuecomment-1364552778 --- migrations/1660716115917-seedNotificationType.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/migrations/1660716115917-seedNotificationType.ts b/migrations/1660716115917-seedNotificationType.ts index 04d98c5..5ea6109 100644 --- a/migrations/1660716115917-seedNotificationType.ts +++ b/migrations/1660716115917-seedNotificationType.ts @@ -1519,7 +1519,7 @@ export const GivethNotificationTypes = { name: 'You boosted', description: 'User boosted a project', microService: MICRO_SERVICES.givethio, - category: NOTIFICATION_CATEGORY.GIV_POWER, + category: NOTIFICATION_CATEGORY.GIV_ECONOMY, icon: '', schemaValidator: SCHEMA_VALIDATORS_NAMES.USER_BOOSTED, emailNotifierService: null, @@ -1556,7 +1556,7 @@ export const GivethNotificationTypes = { name: 'You changed the allocation', description: 'User changed boosted allocation', microService: MICRO_SERVICES.givethio, - category: NOTIFICATION_CATEGORY.GIV_POWER, + category: NOTIFICATION_CATEGORY.GIV_ECONOMY, icon: '', schemaValidator: SCHEMA_VALIDATORS_NAMES.USER_CHANGED_BOOSTED_ALLOCATION, emailNotifierService: null, @@ -1576,7 +1576,7 @@ export const GivethNotificationTypes = { name: 'Your project has been boosted.', description: 'Project has received a boosting', microService: MICRO_SERVICES.givethio, - category: NOTIFICATION_CATEGORY.GIV_POWER, + category: NOTIFICATION_CATEGORY.GIV_ECONOMY, icon: '', schemaValidator: SCHEMA_VALIDATORS_NAMES.PROJECT_HAS_BEEN_BOOSTED, emailNotifierService: null, @@ -1609,7 +1609,7 @@ export const GivethNotificationTypes = { name: 'You locked {amount} & recieved {amount} GIVpower', description: 'User locked GIVpower', microService: MICRO_SERVICES.givethio, - category: NOTIFICATION_CATEGORY.GIV_POWER, + category: NOTIFICATION_CATEGORY.GIV_ECONOMY, icon: '', schemaValidator: SCHEMA_VALIDATORS_NAMES.USER_LOCKED_GIVPOWER, emailNotifierService: null, @@ -1645,7 +1645,7 @@ export const GivethNotificationTypes = { name: 'givPower unlocked', description: 'User unlocked GIVpower', microService: MICRO_SERVICES.givEconomyNotificationMicroService, - category: NOTIFICATION_CATEGORY.GIV_POWER, + category: NOTIFICATION_CATEGORY.GIV_ECONOMY, icon: '', schemaValidator: SCHEMA_VALIDATORS_NAMES.USER_UNLOCKED_GIVPOWER, emailNotifierService: null, @@ -1670,7 +1670,7 @@ export const GivethNotificationTypes = { name: '{amount} re-locked automatically', description: 'User unlocked GIVpower', microService: MICRO_SERVICES.givethio, - category: NOTIFICATION_CATEGORY.GIV_POWER, + category: NOTIFICATION_CATEGORY.GIV_ECONOMY, icon: '', schemaValidator: SCHEMA_VALIDATORS_NAMES.USER_GIVPOWER_RELOCKED_AUTOMATICALLY,