Skip to content

Commit

Permalink
feat(session) allow session to be retrieved by session_id (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume authored Jan 4, 2021
1 parent 23874cc commit f842e68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kong/plugins/session/daos.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local typedefs = require "kong.db.schema.typedefs"
return {
sessions = {
primary_key = { "id" },
endpoint_key = "session_id",
name = "sessions",
cache_key = { "session_id" },
ttl = true,
Expand Down

0 comments on commit f842e68

Please sign in to comment.