Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
Fixed type of LastSeenAt in Conversion struct
Browse files Browse the repository at this point in the history
  • Loading branch information
BigJk authored and dgrr committed Feb 7, 2019
1 parent 06a3f22 commit 6802b82
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions inbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,9 @@ type Conversation struct {
Inviter User `json:"inviter"`
HasOlder bool `json:"has_older"`
HasNewer bool `json:"has_newer"`
LastSeenAt struct {
Num7629421016 struct {
Timestamp string `json:"timestamp"`
ItemID string `json:"item_id"`
} `json:"7629421016"`
LastSeenAt map[string]struct {
Timestamp string `json:"timestamp"`
ItemID string `json:"item_id"`
} `json:"last_seen_at"`
NewestCursor string `json:"newest_cursor"`
OldestCursor string `json:"oldest_cursor"`
Expand Down

0 comments on commit 6802b82

Please sign in to comment.