Apply api changes

This commit is contained in:
crschnick 2024-06-17 11:38:30 +00:00
parent 2b684c9e5e
commit 2810dc4372
2 changed files with 4 additions and 4 deletions

View file

@ -57,9 +57,9 @@ public class ConnectionQueryExchangeImpl extends ConnectionQueryExchange {
.getNames(); .getNames();
var cat = new StorePath(names.subList(1, names.size())); var cat = new StorePath(names.subList(1, names.size()));
var obj = ConnectionQueryExchange.QueryResponse.builder() var obj = ConnectionQueryExchange.QueryResponse.builder()
.uuid(e.getUuid()) .connection(e.getUuid())
.category(cat) .category(cat)
.connection(DataStorage.get().getStorePath(e)) .name(DataStorage.get().getStorePath(e))
.type(e.getProvider().getId()) .type(e.getProvider().getId())
.build(); .build();
mapped.add(obj); mapped.add(obj);

View file

@ -45,13 +45,13 @@ public class ConnectionQueryExchange extends BeaconInterface<ConnectionQueryExch
@Value @Value
public static class QueryResponse { public static class QueryResponse {
@NonNull @NonNull
UUID uuid; UUID connection;
@NonNull @NonNull
StorePath category; StorePath category;
@NonNull @NonNull
StorePath connection; StorePath name;
@NonNull @NonNull
String type; String type;