From 9fb2eacc67bb2222f7e02817887905140b98da6a Mon Sep 17 00:00:00 2001 From: rxdn <29165304+rxdn@users.noreply.github.com> Date: Thu, 24 Dec 2020 23:21:40 +0000 Subject: [PATCH] Add interactions url --- .../whitelabelcreateinteractions.go | 2 ++ public/templates/views/whitelabel.tmpl | 27 +++++++++++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/app/http/endpoints/api/whitelabel/whitelabelcreateinteractions.go b/app/http/endpoints/api/whitelabel/whitelabelcreateinteractions.go index 088f4cf..205c70c 100644 --- a/app/http/endpoints/api/whitelabel/whitelabelcreateinteractions.go +++ b/app/http/endpoints/api/whitelabel/whitelabelcreateinteractions.go @@ -12,6 +12,8 @@ import ( func WhitelabelCreateInteractions(ctx *gin.Context) { userId := ctx.Keys["userid"].(uint64) + //TODO: COOLDOWN + // Get bot bot, err := database.Client.Whitelabel.GetByUserId(userId) if err != nil { diff --git a/public/templates/views/whitelabel.tmpl b/public/templates/views/whitelabel.tmpl index c1a9305..773daad 100644 --- a/public/templates/views/whitelabel.tmpl +++ b/public/templates/views/whitelabel.tmpl @@ -54,8 +54,15 @@