diff options
author | Wim <wim@42.be> | 2022-05-02 00:10:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 00:10:54 +0200 |
commit | 81e6f75aa491c7bfa11780dd622587cf5fff3c8f (patch) | |
tree | 817bca1b4071842029af876ab622bfdcb0360cca /vendor/github.com/mattermost/mattermost-server/v6/model/team.go | |
parent | 888c8b9a845866730485a3a88c27027d0960d521 (diff) | |
download | matterbridge-msglm-81e6f75aa491c7bfa11780dd622587cf5fff3c8f.tar.gz matterbridge-msglm-81e6f75aa491c7bfa11780dd622587cf5fff3c8f.tar.bz2 matterbridge-msglm-81e6f75aa491c7bfa11780dd622587cf5fff3c8f.zip |
Update dependencies (#1822)
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/v6/model/team.go')
-rw-r--r-- | vendor/github.com/mattermost/mattermost-server/v6/model/team.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/github.com/mattermost/mattermost-server/v6/model/team.go b/vendor/github.com/mattermost/mattermost-server/v6/model/team.go index a5aa7f94..7a21ffc7 100644 --- a/vendor/github.com/mattermost/mattermost-server/v6/model/team.go +++ b/vendor/github.com/mattermost/mattermost-server/v6/model/team.go @@ -251,3 +251,16 @@ func (o *Team) Patch(patch *TeamPatch) { func (o *Team) IsGroupConstrained() bool { return o.GroupConstrained != nil && *o.GroupConstrained } + +// The following are some GraphQL methods necessary to return the +// data in float64 type. The spec doesn't support 64 bit integers, +// so we have to pass the data in float64. The _ at the end is +// a hack to keep the attribute name same in GraphQL schema. + +func (o *Team) UpdateAt_() float64 { + return float64(o.UpdateAt) +} + +func (o *Team) LastTeamIconUpdate_() float64 { + return float64(o.LastTeamIconUpdate) +} |