summaryrefslogtreecommitdiff
path: root/internal/api/model
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/model')
-rw-r--r--internal/api/model/tag.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/api/model/tag.go b/internal/api/model/tag.go
index ebc12e2d4..4f81bac6f 100644
--- a/internal/api/model/tag.go
+++ b/internal/api/model/tag.go
@@ -31,4 +31,7 @@ type Tag struct {
// Currently just a stub, if provided will always be an empty array.
// example: []
History *[]any `json:"history,omitempty"`
+ // Following is true if the user is following this tag, false if they're not,
+ // and not present if there is no currently authenticated user.
+ Following *bool `json:"following,omitempty"`
}