Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ Conditions bring logic to the form, when assigned to a page they make the page "

// 2. `RelativeDate` - relative date for date-based conditions
// The `value` of a `RelativeDate` should be an object with a listId and itemId keys pointing to the list and list item
"type": "ListItemRef",
"type": "RelativeDate",
"value": {
"period": 1, // Numeric amount of the time period
"unit": "weeks", // Time unit (days, weeks, months, years),
Expand Down
4 changes: 2 additions & 2 deletions docs/PLUGIN_OPTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ await server.register({
return savedState || null
},

sessionPersister: async (key, state, request) => {
sessionPersister: async (state, request) => {
// Save state to database/API
await saveUserSession(key, state, request)
await saveUserSession(state, request)
}
}
}
Expand Down
Loading