Authorization works (yay)

The journal page once again loads as it should; now to migrate the remaining routes
This commit is contained in:
Daniel J. Summers
2018-03-31 19:58:44 -05:00
parent 9637b38a3f
commit 419c181eff
3 changed files with 97 additions and 35 deletions

View File

@@ -26,10 +26,9 @@ type Request struct {
// properties that may be filled for history and notes.
type JournalRequest struct {
RequestID string `json:"requestId"`
UserID string `json:"userId"`
Text string `json:"text"`
AsOf int64 `json:"asOf"`
LastStatus string `json:"lastStatus"`
History []History `json:"history"`
Notes []Note `json:"notes"`
History []History `json:"history,omitempty"`
Notes []Note `json:"notes,omitempty"`
}