1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-04 18:34:50 +00:00

fix: one time link not displayed correctly

This commit is contained in:
Elias Schneider
2024-08-12 22:03:03 +02:00
parent 4534400d41
commit 486771f433

View File

@@ -148,7 +148,7 @@ func createOneTimeAccessTokenHandler(c *gin.Context) {
return
}
c.JSON(http.StatusCreated, gin.H{"token": oneTimeAccessToken})
c.JSON(http.StatusCreated, gin.H{"token": oneTimeAccessToken.Token})
}
func exchangeOneTimeAccessTokenHandler(c *gin.Context) {