Skip to content
This repository has been archived by the owner on Aug 8, 2021. It is now read-only.

Commit

Permalink
Update cache instead of evicting on adding to list
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulsom committed Dec 30, 2017
1 parent 4baac29 commit 5b939d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/groovy/mylist.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (hash) {
}

myList.save()
AppUtil.instance.evictCache("/l/${userName}")
AppUtil.instance.store "/l/${userName}", myList
}
redirect("/i/${hash}")
} else {
Expand Down

0 comments on commit 5b939d0

Please sign in to comment.