mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-05-26 14:44:15 +00:00
run gofmt
This commit is contained in:
parent
e1c2853494
commit
b62b243a90
@ -289,13 +289,10 @@ func NewApi(signalCliConfig string, attachmentTmpDir string) *Api {
|
|||||||
// @Router /v1/about [get]
|
// @Router /v1/about [get]
|
||||||
func (a *Api) About(c *gin.Context) {
|
func (a *Api) About(c *gin.Context) {
|
||||||
|
|
||||||
|
|
||||||
about := About{SupportedApiVersions: []string{"v1", "v2"}, BuildNr: 2}
|
about := About{SupportedApiVersions: []string{"v1", "v2"}, BuildNr: 2}
|
||||||
c.JSON(200, about)
|
c.JSON(200, about)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// @Summary Register a phone number.
|
// @Summary Register a phone number.
|
||||||
// @Tags Devices
|
// @Tags Devices
|
||||||
// @Description Register a phone number with the signal network.
|
// @Description Register a phone number with the signal network.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user