TP-0000 | renaming field in team response (#71)

This commit is contained in:
Shubham Kirve
2023-05-17 11:55:32 +05:30
committed by GitHub Enterprise
parent 67e3bf8d5e
commit cab34d6379

View File

@@ -13,7 +13,7 @@ type TeamResponse struct {
SlackUserIds pq.StringArray `json:"slackUserIds"`
Participants []UserResponse `json:"participants,omitempty"`
UpdatedAt time.Time `json:"lastUpdatedAt,omitempty"`
WebhookSlackChannelName string `gorm:"column:webhook_slack_channel_name"`
WebhookSlackChannelName string `json:"webhookSlackChannelName"`
}
func ConvertToTeamResponse(teamEntity team.TeamEntity) TeamResponse {