From 76a0b421f93974163d6072a5afe20d7cd4df9efa Mon Sep 17 00:00:00 2001 From: rxdn <29165304+rxdn@users.noreply.github.com> Date: Thu, 24 Dec 2020 23:28:30 +0000 Subject: [PATCH] Better formatting --- .../endpoints/api/whitelabel/whitelabelcreateinteractions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/http/endpoints/api/whitelabel/whitelabelcreateinteractions.go b/app/http/endpoints/api/whitelabel/whitelabelcreateinteractions.go index a22799a..94c6b79 100644 --- a/app/http/endpoints/api/whitelabel/whitelabelcreateinteractions.go +++ b/app/http/endpoints/api/whitelabel/whitelabelcreateinteractions.go @@ -59,7 +59,7 @@ func WhitelabelCreateInteractions(ctx *gin.Context) { ctx.JSON(400, gin.H{ "success": false, - "error": fmt.Sprintf("Interaction creation on cooldown, please wait another %f minutes", expiration.Minutes()), + "error": fmt.Sprintf("Interaction creation on cooldown, please wait another %d minutes", int64(expiration.Minutes())), }) return