Skip to content

Commit

Permalink
Strip build information from user agent version
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
  • Loading branch information
jlaur committed Jun 1, 2023
1 parent 4c278be commit 0a3ba46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class SurePetcareAPIHelper {
private SurePetcareTopology topologyCache = new SurePetcareTopology();

public SurePetcareAPIHelper() {
userAgent = "openHAB/" + FrameworkUtil.getBundle(this.getClass()).getVersion().toString();
userAgent = "openHAB/" + org.openhab.core.OpenHAB.getVersion();
}

/**
Expand Down

0 comments on commit 0a3ba46

Please sign in to comment.