Skip to content

Commit 22a451a

Browse files
chore(billing): improve compose payment log (#585) (#586)
* Update billingNew.ts * Bump version up to 1.2.21 * Update cloudpayments.ts * Update cloudpayments.ts --------- Co-authored-by: Peter <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 764a02f commit 22a451a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hawk.api",
3-
"version": "1.2.20",
3+
"version": "1.2.21",
44
"main": "index.ts",
55
"license": "BUSL-1.1",
66
"scripts": {

src/billing/cloudpayments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export default class CloudPaymentsWebhooks {
202202
return;
203203
}
204204

205-
telegram.sendMessage(` [Billing / Check] All checks passed successfully «${workspace.name}»`, TelegramBotURLs.Money)
205+
telegram.sendMessage(`🤗 [Billing / Check] All checks passed successfully «${workspace.name}»`, TelegramBotURLs.Money)
206206
.catch(e => console.error('Error while sending message to Telegram: ' + e));
207207

208208
HawkCatcher.send(new Error('[Billing / Check] All checks passed successfully'), body as any);

src/resolvers/billingNew.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export default {
156156
* Send info to Telegram (non-blocking)
157157
*/
158158
telegram
159-
.sendMessage(` [Billing / Compose payment]
159+
.sendMessage(`👀 [Billing / Compose payment]
160160
161161
card link operation: ${isCardLinkOperation}
162162
amount: ${+plan.monthlyCharge} RUB

0 commit comments

Comments
 (0)