From 727f6ad2307e340ed4146af0154098737206a288 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 9 Jun 2017 19:49:35 +0200 Subject: Fix bugs in schemas --- src/schemas/order_cancel_schema.ts | 2 +- src/schemas/order_fill_or_kill_requests_schema.ts | 2 +- src/schemas/order_fill_requests_schema.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/schemas/order_cancel_schema.ts b/src/schemas/order_cancel_schema.ts index 5cc8f745c..04b2c179f 100644 --- a/src/schemas/order_cancel_schema.ts +++ b/src/schemas/order_cancel_schema.ts @@ -4,7 +4,7 @@ export const orderCancellationRequestsSchema = { items: { properties: { order: {$ref: '/orderSchema'}, - takerTokenCancelAmount: {type: '/numberSchema'}, + takerTokenCancelAmount: {$ref: '/numberSchema'}, }, required: ['order', 'takerTokenCancelAmount'], type: 'object', diff --git a/src/schemas/order_fill_or_kill_requests_schema.ts b/src/schemas/order_fill_or_kill_requests_schema.ts index 4db7113de..6f7878c45 100644 --- a/src/schemas/order_fill_or_kill_requests_schema.ts +++ b/src/schemas/order_fill_or_kill_requests_schema.ts @@ -4,7 +4,7 @@ export const orderFillOrKillRequestsSchema = { items: { properties: { signedOrder: {$ref: '/signedOrderSchema'}, - fillTakerAmount: {type: '/numberSchema'}, + fillTakerAmount: {$ref: '/numberSchema'}, }, required: ['signedOrder', 'fillTakerAmount'], type: 'object', diff --git a/src/schemas/order_fill_requests_schema.ts b/src/schemas/order_fill_requests_schema.ts index 44f4e33e2..0f3ee1e99 100644 --- a/src/schemas/order_fill_requests_schema.ts +++ b/src/schemas/order_fill_requests_schema.ts @@ -4,7 +4,7 @@ export const orderFillRequestsSchema = { items: { properties: { signedOrder: {$ref: '/signedOrderSchema'}, - takerTokenFillAmount: {type: '/numberSchema'}, + takerTokenFillAmount: {$ref: '/numberSchema'}, }, required: ['signedOrder', 'takerTokenFillAmount'], type: 'object', -- cgit v1.2.3