@ -88,6 +88,9 @@ func declareAPIAuthKeysRoutes(router *gin.RouterGroup) {
c.JSON(http.StatusOK, k)
})
keysRoutes.GET("export", func(c *gin.Context) {
c.JSON(http.StatusOK, c.MustGet("key").(*Key))
keysRoutes.PUT("", func(c *gin.Context) {
current := c.MustGet("key").(*Key)
The note is not visible to the blocked user.