UNPKG
strapi-plugin-soft-delete
Version:
latest (0.9.6)
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Add a soft delete feature to your project
ChristopheCVB/strapi-plugin-soft-delete
strapi-plugin-soft-delete
/
server
/
routes
/
adminSettings.ts
19 lines
(18 loc)
•
330 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export default [ {
method
: '
GET
',
path
: '/
settings
',
handler
: '
admin
.
getSettings
',
config
:
{ policies: [
'admin::isAuthenticatedAdmin'
], }, }, {
method
: '
PUT
',
path
: '/
settings
',
handler
: '
admin
.
setSettings
',
config
:
{ policies: [
'admin::isAuthenticatedAdmin'
], }, }, ];