mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-11 02:48:22 +01:00
Add timestamp to /v1/metadata endpoint
This commit is contained in:
parent
339449742b
commit
2f6718a78f
@ -75,6 +75,7 @@ public class MetadataJSONResolver implements NoAuthResolver {
|
||||
private Response getResponse() {
|
||||
return Response.builder()
|
||||
.setJSONContent(Maps.builder(String.class, Object.class)
|
||||
.put("timestamp", System.currentTimeMillis())
|
||||
.put("contributors", Contributors.getContributors())
|
||||
.put("defaultTheme", config.get(DisplaySettings.THEME))
|
||||
.put("gmPieColors", theme.getPieColors(ThemeVal.GRAPH_GM_PIE))
|
||||
|
Loading…
Reference in New Issue
Block a user