mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 23:54:22 +01:00
beautified code with gofmt
This commit is contained in:
@@ -15,8 +15,8 @@ import (
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/bbernhard/signal-cli-rest-api/client"
|
||||
utils "github.com/bbernhard/signal-cli-rest-api/utils"
|
||||
ds "github.com/bbernhard/signal-cli-rest-api/datastructs"
|
||||
utils "github.com/bbernhard/signal-cli-rest-api/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -1479,7 +1479,6 @@ func (a *Api) RemoveReaction(c *gin.Context) {
|
||||
c.Status(http.StatusNoContent)
|
||||
}
|
||||
|
||||
|
||||
// @Summary Send a receipt.
|
||||
// @Tags Receipts
|
||||
// @Description Send a read or viewed receipt
|
||||
@@ -1962,7 +1961,6 @@ func (a *Api) AddStickerPack(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
err = a.signalClient.AddStickerPack(number, req.PackId, req.PackKey)
|
||||
if err != nil {
|
||||
c.JSON(400, Error{Msg: err.Error()})
|
||||
|
||||
Reference in New Issue
Block a user