This commit is contained in:
Liang Ding 2022-06-18 12:16:48 +08:00
parent dc10e1a11a
commit ed1d0b3cc1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -17,7 +17,6 @@
package api package api
import ( import (
"encoding/hex"
"fmt" "fmt"
"net/http" "net/http"
@ -113,7 +112,7 @@ func initRepoKey(c *gin.Context) {
} }
ret.Data = map[string]interface{}{ ret.Data = map[string]interface{}{
"key": hex.EncodeToString(model.Conf.Repo.Key), "key": model.Conf.Repo.Key,
} }
} }