Remove printing from client register code

This commit is contained in:
cheddar 2025-02-20 21:53:57 -05:00
parent 75732476be
commit b1e4a0cf72
No known key found for this signature in database
2 changed files with 8 additions and 9 deletions

View file

@ -108,11 +108,13 @@ func registerKey(baseUrl *url.URL, keyFile string, userId string) {
keyText := string(keyBytes)
err = client.RegisterKey(baseUrl, keyText, userId)
keyId, err := client.RegisterKey(baseUrl, keyText, userId)
if err != nil {
log.Fatal(err)
}
fmt.Printf("Registered key id: %s\n", keyId)
}
func runServer(simulateCaddy bool, useTempDb bool, dbPath string) {