Skip to content

Commit

Permalink
Fixed bug where ResponseCache was not deleted during a GET request (#110
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jackmered authored Nov 4, 2024
1 parent 3346d14 commit 2b32b50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ async function send(control, action = '', method = 'GET', body = null, enctype =
return mergeContent()
})

ResponseCache.delete(action)
ResponseCache.delete(request.action)

let render = await Promise.all(renders)

Expand Down

0 comments on commit 2b32b50

Please sign in to comment.