Fix forgotten line

This commit is contained in:
Supan Adit Pratama 2020-01-04 07:46:05 +07:00
parent bca8a676e5
commit 9d2ae98856

View File

@ -75,7 +75,7 @@ func Router(r *gin.Engine, client *redis.Client) {
var detection model.Detection var detection model.Detection
err := c.BindJSON(&detection) err := c.BindJSON(&detection)
hookID := "HOOK-" + xid.New().String() hookID := "HOOK-" + xid.New().String()
hookURL := system.GetTile38HookURL(hookID) hookURL := GetTile38HookURL(hookID)
trigger := strings.Join(detection.TriggerType, ",") trigger := strings.Join(detection.TriggerType, ",")
var status map[string]interface{} var status map[string]interface{}
var httpStatus int var httpStatus int