Skip to content

Commit a14ed64

Browse files
committed
Merge branch 'fix/check-auth-for-every-request' into stage
2 parents 4d5089f + 797de5d commit a14ed64

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hawk.api",
3-
"version": "1.1.34",
3+
"version": "1.1.35",
44
"main": "index.ts",
55
"license": "UNLICENSED",
66
"scripts": {

src/models/eventsFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ class EventsFactory extends Factory {
478478
*/
479479
async getUnreadCount(lastVisit) {
480480
const query = {
481-
'payload.timestamp': {
481+
timestamp: {
482482
$gt: lastVisit,
483483
},
484484
};

src/typeDefs/event.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type Release {
5353
"""
5454
Release commits
5555
"""
56-
commits: [Commit!]!
56+
commits: [Commit!]
5757
}
5858
5959
"""

0 commit comments

Comments
 (0)