Skip to content

Commit

Permalink
Handle #55 but need to test
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickmehaffy committed Jul 26, 2023
1 parent 3f1b6e4 commit cf39ac0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ function createPurgeAdmin(options, { strapi }) {

if (!(ctx.status >= 200 && ctx.status <= 300)) return;

await cacheStore.clearByUid(uid, params);
await cacheStore.clearByUid(uid, {
...params,
...ctx.request.body,
});
};
}

Expand Down

0 comments on commit cf39ac0

Please sign in to comment.