From 49622edfd18b74097fc6e4b45935b990e772ae5c Mon Sep 17 00:00:00 2001 From: Nikita Galkin Date: Fri, 21 Oct 2016 17:30:42 +0300 Subject: [PATCH] Fix AMQP messages inconsistency, if completeMeta did not use --- package.json | 2 +- schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0cf82b0..50381e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "msb", - "version": "0.11.4", + "version": "0.11.5", "description": "A framework to simplify the implementation of an event-bus oriented microservices architecture", "license": "MIT", "main": "index.js", diff --git a/schema.json b/schema.json index 5e18852..20cbc65 100644 --- a/schema.json +++ b/schema.json @@ -24,7 +24,7 @@ "properties": { "ttl": { "type": ["integer", "null"] }, "createdAt": { "type": "string", "format": "date-time" }, - "publishedAt": { "type": "string", "format": "date-time" }, + "publishedAt": { "type": ["string", "null"], "format": "date-time" }, "durationMs": { "type": ["number", "null"] }, "serviceDetails": { "$ref": "#/definitions/serviceDetails" } },