Skip to content
Merged
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
4 changes: 2 additions & 2 deletions lib/plugin/autoDelay.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ const defaultConfig = {
*
*/
module.exports = function (config) {
supportedHelpers.push('REST')
const affectedHelpers = [...standardActingHelpers, 'REST']
const helpers = Container.helpers()
let helper

config = Object.assign(defaultConfig, config)

for (const helperName of supportedHelpers) {
for (const helperName of affectedHelpers) {
if (Object.keys(helpers).indexOf(helperName) > -1) {
helper = helpers[helperName]
}
Expand Down