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, {
|
await createFeedEvent(workspaceId, {
|
||||||
channelId: channelId,
|
channelId: channelId,
|
||||||
eventName: type,
|
eventName: type,
|
||||||
eventContent: `You receive a payment of ${currencyToSymbol(currency)}**${amount}**`,
|
eventContent: `You **receive** a payment of ${currencyToSymbol(currency)}**${Number(amount) / 100}**`,
|
||||||
tags: [],
|
tags: [],
|
||||||
source: 'stripe',
|
source: 'stripe',
|
||||||
senderId: eventId,
|
senderId: eventId,
|
||||||
@ -253,7 +253,7 @@ export const feedIntegrationRouter = router({
|
|||||||
await createFeedEvent(workspaceId, {
|
await createFeedEvent(workspaceId, {
|
||||||
channelId: channelId,
|
channelId: channelId,
|
||||||
eventName: type,
|
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: [],
|
tags: [],
|
||||||
source: 'stripe',
|
source: 'stripe',
|
||||||
senderId: eventId,
|
senderId: eventId,
|
||||||
|
Loading…
Reference in New Issue
Block a user