We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cd5a0a commit 3653f6fCopy full SHA for 3653f6f
Session.go
@@ -69,6 +69,10 @@ func (session *Session) Modified() bool {
69
70
// Data returns a copy of the underlying session data.
71
func (session *Session) Data() map[string]interface{} {
72
+ if session.data == nil {
73
+ return nil
74
+ }
75
+
76
newMap := map[string]interface{}{}
77
78
for key, value := range session.data {
0 commit comments