nexushub-commands 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,7 +113,7 @@ let AdminWithdrawalCommand = AdminWithdrawalCommand_1 = class AdminWithdrawalCom
113
113
  chat_id: withdrawal.user,
114
114
  photo: config.images.withdrawal,
115
115
  caption: `<blockquote><b>❌ Отклонена заявка на вывод средств</b></blockquote>\n\n` +
116
- `<i>— Сумма: {{ ${yield withdrawal.amount.convert({ from: 'RUB', to: config.currency })} }}</i>\n` +
116
+ `<i>— Сумма: {{ ${yield withdrawal.amount.convert({ from: 'RUB', to: user.currency })} }}</i>\n` +
117
117
  `<i>— Метод: {{ ${withdrawal.method === 'crypto' ? `Крипто-кошелек ${(_b = withdrawal.coin) === null || _b === void 0 ? void 0 : _b.toUpperCase()}` : withdrawal.method === 'sbp' ? 'Номер телефона' : 'Банковская карта'} }}</i>\n` +
118
118
  `<i>— Реквизиты: {{ ${withdrawal.requisites} }}</i>\n` +
119
119
  (template === null ? `\n<b>ℹ️ Обратитесь в <a href="https://t.me/${config.support.username}">тех. поддержку</a> для уточнения проблемы.</b>` : ''),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexushub-commands",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "main": "./lib/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -124,7 +124,7 @@ export class AdminWithdrawalCommand extends Command {
124
124
  caption:
125
125
  `<blockquote><b>❌ Отклонена заявка на вывод средств</b></blockquote>\n\n` +
126
126
 
127
- `<i>— Сумма: {{ ${await withdrawal.amount.convert({ from: 'RUB', to: config.currency })} }}</i>\n` +
127
+ `<i>— Сумма: {{ ${await withdrawal.amount.convert({ from: 'RUB', to: user.currency })} }}</i>\n` +
128
128
  `<i>— Метод: {{ ${withdrawal.method === 'crypto' ? `Крипто-кошелек ${withdrawal.coin?.toUpperCase()}` : withdrawal.method === 'sbp' ? 'Номер телефона' : 'Банковская карта'} }}</i>\n` +
129
129
  `<i>— Реквизиты: {{ ${withdrawal.requisites} }}</i>\n` +
130
130