api, frontend: add moderator tag to mods in comments

This commit is contained in:
Adhityaa Chandrasekar
2019-02-22 22:43:25 -05:00
parent c30da607cb
commit 789a58bd7a
4 changed files with 40 additions and 17 deletions

View File

@@ -12,4 +12,5 @@ type commenter struct {
Photo string `json:"photo"`
Provider string `json:"provider,omitempty"`
JoinDate time.Time `json:"joinDate,omitempty"`
IsModerator bool `json:"isModerator"`
}