implemented basic search function with Homebox provider

This commit is contained in:
2026-05-17 04:22:29 +02:00
parent f39bf049a0
commit d91f39d087
14 changed files with 252 additions and 6 deletions
@@ -65,7 +65,11 @@ public class HomeboxConnectionProvider implements ConnectionProvider {
attachmentToken.put("attachmentToken", hbResponse.attachmentToken());
return new ConnectionResponse(hbResponse.token(), hbResponse.expiresAt(), attachmentToken);
String hbRawToken = hbResponse.token();
String token = hbRawToken.startsWith("Bearer ") ? hbRawToken.substring(7) : hbRawToken;
return new ConnectionResponse(token, hbResponse.expiresAt(), attachmentToken);
}
@Override