summaryrefslogtreecommitdiffstats
path: root/model/post.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-11-09 12:35:44 -0500
committerJoramWilander <jwawilander@gmail.com>2015-11-09 15:44:28 -0500
commitc07c266b2759998f3133b3f970a26747601ed610 (patch)
tree9fce6878fade9b318b838cbba47a0dce2b94d6a8 /model/post.go
parentffe844339a2ebf20df0074aa64b5cafb8517f536 (diff)
downloadchat-c07c266b2759998f3133b3f970a26747601ed610.tar.gz
chat-c07c266b2759998f3133b3f970a26747601ed610.tar.bz2
chat-c07c266b2759998f3133b3f970a26747601ed610.zip
Omit unneeded fields from user object in getProfiles service and remove ImgCount field from Post model
Diffstat (limited to 'model/post.go')
-rw-r--r--model/post.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/model/post.go b/model/post.go
index 248d40321..5578514b5 100644
--- a/model/post.go
+++ b/model/post.go
@@ -26,7 +26,6 @@ type Post struct {
ParentId string `json:"parent_id"`
OriginalId string `json:"original_id"`
Message string `json:"message"`
- ImgCount int64 `json:"img_count"`
Type string `json:"type"`
Props StringInterface `json:"props"`
Hashtags string `json:"hashtags"`