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 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) {