mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 14:12:47 +00:00
➕ Implemented Create Pusher
This commit is contained in:
parent
024afaba7c
commit
4c4cf8020a
10 changed files with 110 additions and 2 deletions
|
@ -31,7 +31,7 @@ type pusherJSON struct {
|
|||
AppID string `json:"app_id"`
|
||||
AppDisplayName string `json:"app_display_name"`
|
||||
DeviceDisplayName string `json:"device_display_name"`
|
||||
ProfileTag string `json:"profile_tag"`
|
||||
ProfileTag *string `json:"profile_tag"`
|
||||
Language string `json:"lang"`
|
||||
Data pusherDataJSON `json:"data"`
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ func GetPushersByLocalpart(
|
|||
AppID: pusher.AppID,
|
||||
AppDisplayName: pusher.AppDisplayName,
|
||||
DeviceDisplayName: pusher.DeviceDisplayName,
|
||||
ProfileTag: pusher.ProfileTag,
|
||||
ProfileTag: &pusher.ProfileTag,
|
||||
Language: pusher.Language,
|
||||
Data: pusherDataJSON(pusher.Data),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue