Better formatting
This commit is contained in:
parent
e4433d4eda
commit
76a0b421f9
@ -59,7 +59,7 @@ func WhitelabelCreateInteractions(ctx *gin.Context) {
|
|||||||
|
|
||||||
ctx.JSON(400, gin.H{
|
ctx.JSON(400, gin.H{
|
||||||
"success": false,
|
"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
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user