Skip to content

Commit

Permalink
update sending test alert
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed Mar 11, 2024
1 parent 8c1e9ae commit 852b8d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/TestAlertPopup/TestAlertPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ export default function TestAlertPopup({ config }: { config: Config }) {
function sendTestAlert() {
publish(config.topic.alerts, {
id: "ae7d3c02-209b-4b69-a95b-2a60de4aff9b",
senderName: nickname ? nickname : "Аноним",
nickname: nickname ? nickname : "Аноним",
message: message ? message : "Тестовое сообщение",
amount: {
amount: amount ? parseInt(amount) : 40,
major: amount ? parseInt(amount) : 40,
minor: 0,
currency: "RUB",
},
});
Expand Down

0 comments on commit 852b8d2

Please sign in to comment.