From 6802b8296f93245f32f4ef7bd2fb51e010fa703e Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Tue, 29 Jan 2019 12:05:46 +0100 Subject: [PATCH] Fixed type of LastSeenAt in Conversion struct --- inbox.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/inbox.go b/inbox.go index 9ae15928..13bc3cd3 100644 --- a/inbox.go +++ b/inbox.go @@ -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"`