mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-04-25 09:41:24 +00:00
Fix return of link endpoint
This commit is contained in:
parent
0c03b190c3
commit
673c7045aa
@ -269,7 +269,7 @@ func main() {
|
||||
c.JSON(400, gin.H{"error": err.Error()})
|
||||
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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user