Skip to content

Commit ea8c7eb

Browse files
committed
fix: initialize lastUpdated on ExtensionVersion
construction
1 parent 170be9b commit ea8c7eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/org/eclipse/openvsx/entities/ExtensionVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public enum State {
8484
@Enumerated(EnumType.STRING)
8585
private State state = State.ACTIVE;
8686

87-
private LocalDateTime lastUpdated;
87+
private LocalDateTime lastUpdated = TimeUtil.getCurrentUTC();
8888

8989
private boolean potentiallyMalicious;
9090

0 commit comments

Comments
 (0)