refactor: update amount in stripe
This commit is contained in:
parent
6b3631eae1
commit
272505669e
@ -233,7 +233,7 @@ export const feedIntegrationRouter = router({
|
||||
await createFeedEvent(workspaceId, {
|
||||
channelId: channelId,
|
||||
eventName: type,
|
||||
eventContent: `You receive a payment of ${currencyToSymbol(currency)}**${amount}**`,
|
||||
eventContent: `You **receive** a payment of ${currencyToSymbol(currency)}**${Number(amount) / 100}**`,
|
||||
tags: [],
|
||||
source: 'stripe',
|
||||
senderId: eventId,
|
||||
@ -253,7 +253,7 @@ export const feedIntegrationRouter = router({
|
||||
await createFeedEvent(workspaceId, {
|
||||
channelId: channelId,
|
||||
eventName: type,
|
||||
eventContent: `A payment has been canceled of ${currencyToSymbol(currency)}**${amount}**`,
|
||||
eventContent: `A payment has been **canceled** of ${currencyToSymbol(currency)}**${Number(amount) / 100}**`,
|
||||
tags: [],
|
||||
source: 'stripe',
|
||||
senderId: eventId,
|
||||
|
Loading…
Reference in New Issue
Block a user