mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 15:44:28 +01:00
fixed small error in API documentation
This commit is contained in:
@@ -1177,7 +1177,7 @@ func (a *Api) SearchForNumbers(c *gin.Context) {
|
|||||||
// @Success 204
|
// @Success 204
|
||||||
// @Param data body UpdateContactRequest true "Contact"
|
// @Param data body UpdateContactRequest true "Contact"
|
||||||
// @Failure 400 {object} Error
|
// @Failure 400 {object} Error
|
||||||
// @Router /v1/contacts [put]
|
// @Router /v1/contacts{number} [put]
|
||||||
func (a *Api) UpdateContact(c *gin.Context) {
|
func (a *Api) UpdateContact(c *gin.Context) {
|
||||||
number := c.Param("number")
|
number := c.Param("number")
|
||||||
if number == "" {
|
if number == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user