From ec198343b551020cfed321937d680af59c2ce127 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 8 Feb 2018 18:07:38 +0100 Subject: Make naming of schemas consistent --- packages/website/ts/schemas/validator.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/website/ts/schemas/validator.ts') diff --git a/packages/website/ts/schemas/validator.ts b/packages/website/ts/schemas/validator.ts index f0b5e6676..dac0f0098 100644 --- a/packages/website/ts/schemas/validator.ts +++ b/packages/website/ts/schemas/validator.ts @@ -1,12 +1,12 @@ import { SchemaValidator } from '@0xproject/json-schemas'; import { Schema as JSONSchema, Validator } from 'jsonschema'; import { orderMetadataSchema } from 'ts/schemas/metadata_schema'; -import { orderSchema } from 'ts/schemas/order_schema'; -import { tokenSchema } from 'ts/schemas/token_schema'; +import { portalOrderSchema } from 'ts/schemas/portal_order_schema'; +import { portalTokenMetadataSchema } from 'ts/schemas/portal_token_metadata'; const validator = new SchemaValidator(); -validator.addSchema(tokenSchema); +validator.addSchema(portalTokenMetadataSchema); validator.addSchema(orderMetadataSchema); -validator.addSchema(orderSchema); +validator.addSchema(portalOrderSchema); export { validator }; -- cgit