mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 23:54:22 +01:00
Fix return of link endpoint
This commit is contained in:
@@ -269,7 +269,7 @@ func main() {
|
|||||||
c.JSON(400, gin.H{"error": err.Error()})
|
c.JSON(400, gin.H{"error": err.Error()})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
c.String(200, gin.H{"uri": string(out)})
|
c.JSON(200, gin.H{"uri": string(out)})
|
||||||
})
|
})
|
||||||
|
|
||||||
router.POST("/v1/register/:number", func(c *gin.Context) {
|
router.POST("/v1/register/:number", func(c *gin.Context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user