Commit 6801b405 authored by Steve Norman's avatar Steve Norman Committed by Sander van Harmelen

Add missing last_activity_on value for a user (#355)

parent f6ca383e
......@@ -117,6 +117,11 @@ func (t *ISOTime) UnmarshalJSON(data []byte) error {
return err
}
// String implements the Stringer interface
func (t ISOTime) String() string {
return time.Time(t).Format(iso8601)
}
// NotificationLevelValue represents a notification level.
type NotificationLevelValue int
......
......@@ -50,6 +50,7 @@ type User struct {
ExternUID string `json:"extern_uid"`
Provider string `json:"provider"`
ThemeID int `json:"theme_id"`
LastActivityOn *ISOTime `json:"last_activity_on"`
ColorSchemeID int `json:"color_scheme_id"`
IsAdmin bool `json:"is_admin"`
AvatarURL string `json:"avatar_url"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment