mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Added cache invalidation to posts and pages bulk apis
refs https://github.com/TryGhost/Team/issues/2677
This commit is contained in:
parent
854f616f70
commit
d98f29c6aa
@ -164,7 +164,9 @@ module.exports = {
|
||||
|
||||
bulkEdit: {
|
||||
statusCode: 200,
|
||||
headers: {},
|
||||
headers: {
|
||||
cacheInvalidate: true
|
||||
},
|
||||
options: [
|
||||
'filter'
|
||||
],
|
||||
@ -195,7 +197,9 @@ module.exports = {
|
||||
|
||||
bulkDestroy: {
|
||||
statusCode: 200,
|
||||
headers: {},
|
||||
headers: {
|
||||
cacheInvalidate: true
|
||||
},
|
||||
options: [
|
||||
'filter'
|
||||
],
|
||||
|
@ -205,7 +205,9 @@ module.exports = {
|
||||
|
||||
bulkEdit: {
|
||||
statusCode: 200,
|
||||
headers: {},
|
||||
headers: {
|
||||
cacheInvalidate: true
|
||||
},
|
||||
options: [
|
||||
'filter'
|
||||
],
|
||||
@ -235,7 +237,9 @@ module.exports = {
|
||||
|
||||
bulkDestroy: {
|
||||
statusCode: 200,
|
||||
headers: {},
|
||||
headers: {
|
||||
cacheInvalidate: true
|
||||
},
|
||||
options: [
|
||||
'filter'
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user