Skip to content

Commit 19e175c

Browse files
author
David Massad
committed
Fixed issue where error occurs when deleting a session that does not exist.
1 parent c3f2194 commit 19e175c

File tree

1 file changed

+1
-1
lines changed
  • lib/aws/session_store/dynamo_db/locking

1 file changed

+1
-1
lines changed

lib/aws/session_store/dynamo_db/locking/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def data_unchanged?(env, session)
143143

144144
# Expected attributes
145145
def expected_attributes(sid)
146-
{ :expected => {@config.table_key => {:value => {:s => sid}, :exists => true}} }
146+
{ :expected => {@config.table_key => {:value => {:s => sid}, :exists => false}} }
147147
end
148148

149149
# Attributes to be retrieved via client

0 commit comments

Comments
 (0)