diff --git a/README.md b/README.md index 9cbde45c..ccc2d22d 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,7 @@ To execute the request, enter it in the input field on the left and click on the On the right side you will see the result of the query. ## GraphQL Voyager -You can view API Schema visualization in `/voyager` page in your browser. -To see current production schema go to [here](https://api.beta.hawk.so/voyager) +You can view API Schema visualization in `/voyager` page in your browser. To see current production schema go to [here](https://api.beta.hawk.so/voyager) ## Migrations diff --git a/package.json b/package.json index c3126a1f..5ad97674 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hawk.api", - "version": "1.2.20", + "version": "1.2.21", "main": "index.ts", "license": "BUSL-1.1", "scripts": { diff --git a/src/models/eventsFactory.js b/src/models/eventsFactory.js index 5374be0b..d59e1b0f 100644 --- a/src/models/eventsFactory.js +++ b/src/models/eventsFactory.js @@ -321,14 +321,7 @@ class EventsFactory extends Factory { ? { $expr: { $eq: [ - { - $convert: { - input: '$event.payload.release', - to: 'string', - onError: '', - onNull: '', - }, - }, + '$event.payload.release', String(release), ], },