Skip to content

Commit

Permalink
Merge pull request #2895 from hollaex/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
abeikverdi authored Jun 27, 2024
2 parents 9a835e3 + 093cbd0 commit ce23b7a
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion server/api/swagger/swagger.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const definition = {
swagger: '2.0',
info: {
title: 'HollaEx Kit',
version: '2.11.0'
version: '2.11.1'
},
host: 'api.hollaex.com',
basePath: '/v2',
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.11.0",
"version": "2.11.1",
"private": false,
"description": "HollaEx Kit",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion server/plugins/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const unstakingCheckRunner = () => {
let symbols = {};

for (const key of Object.keys(balance)) {
if (key.includes('available') && balance[key]) {
if (key.includes('available') && balance[key] != null) {
let symbol = key?.split('_')?.[0];
symbols[symbol] = balance[key];
}
Expand Down
2 changes: 1 addition & 1 deletion server/utils/hollaex-tools-lib/tools/p2p.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const getP2PAccountBalance = async (account_id, coin) => {
let symbols = {};

for (const key of Object.keys(balance)) {
if (key.includes('available') && balance[key]) {
if (key.includes('available') && balance[key] != null) {
let symbol = key?.split('_')?.[0];
symbols[symbol] = balance[key];
}
Expand Down
2 changes: 1 addition & 1 deletion server/utils/hollaex-tools-lib/tools/stake.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const getSourceAccountBalance = async (account_id, coin) => {
let symbols = {};

for (const key of Object.keys(balance)) {
if (key.includes('available') && balance[key]) {
if (key.includes('available') && balance[key] != null) {
let symbol = key?.split('_')?.[0];
symbols[symbol] = balance[key];
}
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.11.0
2.11.1
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hollaex-kit",
"version": "2.11.0",
"version": "2.11.1",
"private": true,
"dependencies": {
"@ant-design/compatible": "1.0.5",
Expand Down
4 changes: 3 additions & 1 deletion web/src/containers/Admin/Trades/p2pSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,9 @@ const P2PSettings = ({ coins, pairs, p2p_config, features }) => {
}
});

setPaymentMethods([...p2p_config?.bank_payment_methods, ...methods]);
if (p2p_config?.bank_payment_methods?.length > 0) {
setPaymentMethods([...p2p_config?.bank_payment_methods, ...methods]);
}
}, []);

const handleEmailChange = (value) => {
Expand Down

0 comments on commit ce23b7a

Please sign in to comment.