Reformatting Request params (#26)
* TP-0000 | invite oncall while incident creation * TP-0000 | chaning naming on test environment * TP-0000 | adding log in invite user function * TP-0000 | renaming query params
This commit is contained in:
committed by
GitHub Enterprise
parent
621a7ce3ea
commit
7b2c1e03e2
@@ -56,8 +56,8 @@ func NewIncidentService(gin *gin.Engine, logger *zap.Logger, db *gorm.DB, socket
|
||||
|
||||
func (i *incidentService) GetIncidents(c *gin.Context) {
|
||||
IncidentId := c.Param("id")
|
||||
TeamIds := c.Query("teamIds")
|
||||
SeverityIds := c.Query("severityIds")
|
||||
TeamIds := c.Query("team_ids")
|
||||
SeverityIds := c.Query("severity_ids")
|
||||
Status := c.Query("statuses")
|
||||
|
||||
if IncidentId != "" {
|
||||
|
||||
@@ -36,7 +36,7 @@ func(u *userService) GetUserInfo(c *gin.Context) {
|
||||
}
|
||||
|
||||
func(u *userService) GetUsersInConversation(c *gin.Context) {
|
||||
channelId := c.Query("channelId")
|
||||
channelId := c.Query("channel_id")
|
||||
|
||||
users, err := u.client.GetUsersInConversation(channelId)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user