fix(system): teams response as string

This commit is contained in:
Tit Petric
2018-11-25 22:51:05 +01:00
parent 2049550e67
commit 59a3fc85d3
+1 -1
View File
@@ -7,7 +7,7 @@ import (
type (
// Teams - An organisation may have many teams. Teams may have many channels available. Access to channels may be shared between teams.
Team struct {
ID uint64 `json:"id" db:"id"`
ID uint64 `json:"id,string" db:"id"`
Name string `json:"name" db:"name"`
Handle string `json:"handle" db:"handle"`
CreatedAt time.Time `json:"createdAt,omitempty" db:"created_at"`