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();
var cat = new StorePath(names.subList(1, names.size()));
var obj = ConnectionQueryExchange.QueryResponse.builder()
.uuid(e.getUuid())
.connection(e.getUuid())
.category(cat)
.connection(DataStorage.get().getStorePath(e))
.name(DataStorage.get().getStorePath(e))
.type(e.getProvider().getId())
.build();
mapped.add(obj);

View file

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