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.
2 parents bb771d5 + 4873fd1 commit e32cc64Copy full SHA for e32cc64
src/ElasticSessionStore.php
@@ -74,7 +74,7 @@ public function read($sessionId) {
74
public function write($sessionId, $sessionData) {
75
$updatedTs = Carbon::now()->toIso8601String();
76
$createdTs = array_key_exists($sessionId, $this->_cache) ? $this->_cache[$sessionId]->created : $updatedTs;
77
- static::create(['data' => $sessionData, 'created' => $createdTs, 'updated' => $updatedTs], $sessionId, []);
+ static::index(['data' => $sessionData, 'created' => $createdTs, 'updated' => $updatedTs], $sessionId, []);
78
}
79
80
public function destroy($sessionId) {
0 commit comments