mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-14 15:22:18 +00:00
fix: one time link not displayed correctly
This commit is contained in:
@@ -148,7 +148,7 @@ func createOneTimeAccessTokenHandler(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
c.JSON(http.StatusCreated, gin.H{"token": oneTimeAccessToken})
|
c.JSON(http.StatusCreated, gin.H{"token": oneTimeAccessToken.Token})
|
||||||
}
|
}
|
||||||
|
|
||||||
func exchangeOneTimeAccessTokenHandler(c *gin.Context) {
|
func exchangeOneTimeAccessTokenHandler(c *gin.Context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user