Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fixup! Use hm://a/ as account ID after call with Eric
Browse files Browse the repository at this point in the history
  • Loading branch information
burdiyan committed Jun 26, 2024
1 parent 0b8f47d commit e41f1b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/daemon/api/daemon/v1alpha/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (srv *Server) ListKeys(ctx context.Context, req *daemon.ListKeysRequest) (*
out.Keys = append(out.Keys, &daemon.NamedKey{
Name: key.Name,
PublicKey: key.PublicKey.String(),
AccountId: "a/" + key.PublicKey.String(), // TODO(juligasa): finalize the decision about what Account ID should look like.
AccountId: "hm://a/" + key.PublicKey.String(),
})
}
return out, nil
Expand All @@ -143,7 +143,7 @@ func (srv *Server) UpdateKey(ctx context.Context, req *daemon.UpdateKeyRequest)
return &daemon.NamedKey{
PublicKey: kp.PublicKey.String(),
Name: req.NewName,
AccountId: "a/" + kp.PublicKey.String(), // TODO(burdiyan): finalize the decision about what Account ID should look like.}, nil
AccountId: "hm://a/" + kp.PublicKey.String(),
}, nil
}

Expand Down

0 comments on commit e41f1b9

Please sign in to comment.