Skip to content

Commit b391ae0

Browse files
committed
fix: SessionRecorder usage
1 parent 25736c9 commit b391ae0

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/app/multiplayer/session_recorder/type

1 file changed

+2
-1
lines changed

src/main/java/app/multiplayer/session_recorder/type/Session.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import java.util.List;
44
import java.util.Map;
5+
import java.util.ArrayList;
56

67
public class Session {
78
private String id;
@@ -11,7 +12,7 @@ public class Session {
1112
private Map<String, Object> resourceAttributes;
1213
private Map<String, Object> sessionAttributes;
1314

14-
private List<Tag> tags;
15+
private List<Tag> tags = new ArrayList<>();
1516

1617
// --- Getters and Setters ---
1718

0 commit comments

Comments
 (0)