Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
itsumura-h committed Feb 28, 2024
1 parent b56c4b6 commit c4715ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basolato/middleware/session_from_cookie_middleware.nim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import ../middleware


proc createExpire():int =
return now().toTime().toUnix() + (60 * 30) # 60 secound * 30 min
return ( now().toTime().toUnix() + (60 * 30) ).int # 60 secound * 30 min

proc sessionFromCookie*(c:Context, p:Params):Future[Response] {.async.} =
try:
Expand Down

0 comments on commit c4715ef

Please sign in to comment.