Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #1182

Merged
merged 11 commits into from
Feb 8, 2022
3 changes: 2 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ steps:
- echo "Current version tag is :" && cat .tags

- name: request_hollacloud_to_run_upgrade
image: bitholla/devops-tools:drone_hollacloud-220121
image: bitholla/devops-tools:drone_hollacloud-220208
environment:
HOLLAEX_EMAIL:
from_secret: next_email
Expand All @@ -175,6 +175,7 @@ steps:
settings:
exchange_id: 539
exchange_name: "Next"
kit_branch: "next"

- name: slack_noti_job_end
image: plugins/slack
Expand Down
21 changes: 3 additions & 18 deletions server/api/swagger/swagger.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
swagger: "2.0"
info:
version: "2.2.8"
version: "2.2.9"
title: HollaEx Kit
host: api.hollaex.com
basePath: /v2
Expand Down Expand Up @@ -1573,7 +1573,7 @@ paths:
200:
description: Success
schema:
$ref: "#/definitions/BalanceResponse"
$ref: "#/definitions/ObjectResponse"
403:
description: Access Denied
schema:
Expand Down Expand Up @@ -3023,7 +3023,7 @@ paths:
200:
description: Success
schema:
$ref: "#/definitions/BalanceResponse"
$ref: "#/definitions/ObjectResponse"
default:
description: Error
schema:
Expand Down Expand Up @@ -4368,21 +4368,6 @@ definitions:
type: array
items:
$ref: "#/definitions/OrderResponse"
BalanceResponse:
type: object
properties:
btc_balance:
type: number
format: double
btc_available:
type: number
format: double
btc_pending:
type: number
format: double
updated_at:
type: string
format: date-time
KitPut:
type: object
properties:
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.2.8",
"version": "2.2.9",
"private": false,
"description": "HollaEx Kit",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.8
2.2.9
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.2.8",
"version": "2.2.9",
"private": true,
"dependencies": {
"@ant-design/compatible": "1.0.5",
Expand Down
4 changes: 2 additions & 2 deletions web/src/containers/Withdraw/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ class Withdraw extends Component {
onSubmitWithdraw = (currency) => (values) => {
const { destination_tag, network, ...rest } = values;

let address = rest.address;
if (destination_tag) address = `${rest.address}:${destination_tag}`;
let address = rest.address.trim();
if (destination_tag) address = `${rest.address.trim()}:${destination_tag}`;

return performWithdraw(currency, {
...(network ? { network } : {}),
Expand Down