mirror of
https://github.com/strapi/strapi.git
synced 2025-11-17 10:38:30 +00:00
Merge branch 'feature/audit-logs' into audit-logs/log-url
This commit is contained in:
commit
c0c548d9de
@ -42,7 +42,7 @@ const ListView = () => {
|
|||||||
enabled: canRead,
|
enabled: canRead,
|
||||||
keepPreviousData: true,
|
keepPreviousData: true,
|
||||||
retry: false,
|
retry: false,
|
||||||
staleTime: 1000 * 20,
|
staleTime: 1000 * 10,
|
||||||
onError() {
|
onError() {
|
||||||
toggleNotification({
|
toggleNotification({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
const localProvider = require('@strapi/provider-audit-logs-local');
|
const localProvider = require('@strapi/provider-audit-logs-local');
|
||||||
const { scheduleJob } = require('node-schedule');
|
const { scheduleJob } = require('node-schedule');
|
||||||
|
|
||||||
const RETENTION_DAYS = 7;
|
const RETENTION_DAYS = 90;
|
||||||
|
|
||||||
const defaultEvents = [
|
const defaultEvents = [
|
||||||
'entry.create',
|
'entry.create',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user