Skip to content

Commit

Permalink
timeline GetRequest, add omitempty to SinceID and UntilID; ref yitsushi/
Browse files Browse the repository at this point in the history
  • Loading branch information
bladedvox committed Jun 23, 2024
1 parent 5ebcbed commit 844a0ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/notes/timeline/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
// GetRequest represents an Get request.
type GetRequest struct {
Limit uint `json:"limit"`
SinceID string `json:"sinceId"`
UntilID string `json:"untilId"`
SinceID string `json:"sinceId,omitempty"`
UntilID string `json:"untilId,omitempty"`
SinceDate uint64 `json:"sinceDate"`
UntilDate uint64 `json:"untilDate"`
IncludeMyRenotes bool `json:"includeMyRenotes"`
Expand Down

0 comments on commit 844a0ea

Please sign in to comment.