Skip to content

Commit f0ecb0e

Browse files
author
David Massad
committed
Changed value of n to a string
1 parent af9d8b3 commit f0ecb0e

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
@@ -127,7 +127,7 @@ def created_attr
127127
# Update client with current time + max_stale.
128128
def expire_at
129129
max_stale = @config.max_stale || 0
130-
{ value: { n: (Time.now + max_stale).to_i }, action: 'PUT' }
130+
{ value: { n: "#{(Time.now + max_stale).to_i }", action: 'PUT' }
131131
end
132132

133133
# Attribute for TTL expiration of session.

0 commit comments

Comments
 (0)