tryJournalById returns entire request #42

Closed
opened 2020-04-23 12:47:35 +00:00 by danieljsummers · 1 comment
danieljsummers commented 2020-04-23 12:47:35 +00:00 (Migrated from github.com)

The Data.tryJournalById function (called by Handlers.Request.get) is returning the entire request, including notes and history, which it should not be doing - that's what Data.tryFullRequestById (called by Handlers.Request.getFull) is for. Modify it to return the request with empty history and notes arrays.

(This was broken in the v2 conversion between EF Core and RavenDB.)

The `Data.tryJournalById` function (called by `Handlers.Request.get`) is returning the entire request, including notes and history, which it should not be doing - that's what `Data.tryFullRequestById` (called by `Handlers.Request.getFull`) is for. Modify it to return the request with empty history and notes arrays. _(This was broken in the v2 conversion between EF Core and RavenDB.)_
danieljsummers commented 2020-04-23 15:10:36 +00:00 (Migrated from github.com)

Fixed in v2.1.4

Fixed in v2.1.4
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bit-badger/myPrayerJournal#42
No description provided.