Skip to content

Commit

Permalink
refactor: update amount in stripe
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Oct 29, 2024
1 parent 6b3631e commit 2725056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/trpc/routers/feed/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 2725056

Please sign in to comment.