From 59a3fc85d36c522f44c42a7d6b32f03c600c1b85 Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Sun, 25 Nov 2018 22:51:05 +0100 Subject: [PATCH] fix(system): teams response as string --- system/types/team.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/types/team.go b/system/types/team.go index 3d6e4aa20..1331a9bf5 100644 --- a/system/types/team.go +++ b/system/types/team.go @@ -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"`