Skip to content

Commit

Permalink
set version.title to dashjoin-playground
Browse files Browse the repository at this point in the history
  • Loading branch information
aeberhart committed Apr 1, 2024
1 parent ead9910 commit 38473c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dashjoin-core/src/main/java/org/dashjoin/service/Manage.java
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,10 @@ public List<FunctionVersion> getConfigurableFunctions() {
@Operation(summary = "returns the version of the Dashjoin platform")
@APIResponse(description = "Version object describing the platform")
public Version version() {
return getVersion();
Version res = getVersion();
if (!("".equals(services.getTenantManager().getHomePrefix())))
res.title = "dashjoin-playground";
return res;
}

public static Version getVersion() {
Expand Down

0 comments on commit 38473c3

Please sign in to comment.