|
@@ -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,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|