summaryrefslogtreecommitdiffstats
path: root/model/push_notification.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-04-27 04:51:19 -0700
committerJoram Wilander <jwawilander@gmail.com>2017-04-27 07:51:19 -0400
commita6397b5ed9c4d6a1afe018ad766555c18c3a6983 (patch)
tree0516a9f02dca7aeff752d9f942b756df4b1afa72 /model/push_notification.go
parentc540e801662e2d672bbaa832e93acf480b0b0c65 (diff)
downloadchat-a6397b5ed9c4d6a1afe018ad766555c18c3a6983.tar.gz
chat-a6397b5ed9c4d6a1afe018ad766555c18c3a6983.tar.bz2
chat-a6397b5ed9c4d6a1afe018ad766555c18c3a6983.zip
PLT-6108 fixing to use senderId for push (#6245)
Diffstat (limited to 'model/push_notification.go')
-rw-r--r--model/push_notification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/push_notification.go b/model/push_notification.go
index 5131c033d..654d1d9a5 100644
--- a/model/push_notification.go
+++ b/model/push_notification.go
@@ -36,7 +36,7 @@ type PushNotification struct {
ChannelId string `json:"channel_id"`
ChannelName string `json:"channel_name"`
Type string `json:"type"`
- UserId string `json:"user_id"`
+ SenderId string `json:"sender_id"`
OverrideUsername string `json:"override_username"`
OverrideIconUrl string `json:"override_icon_url"`
FromWebhook string `json:"from_webhook"`