From 9d2ae988563f97a5744ff771b1422df7cdd9f9bb Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Sat, 4 Jan 2020 07:46:05 +0700 Subject: [PATCH] Fix forgotten line --- system/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/router.go b/system/router.go index 31e5e37..cedd63f 100644 --- a/system/router.go +++ b/system/router.go @@ -75,7 +75,7 @@ func Router(r *gin.Engine, client *redis.Client) { var detection model.Detection err := c.BindJSON(&detection) hookID := "HOOK-" + xid.New().String() - hookURL := system.GetTile38HookURL(hookID) + hookURL := GetTile38HookURL(hookID) trigger := strings.Join(detection.TriggerType, ",") var status map[string]interface{} var httpStatus int