kopia lustrzana https://github.com/nolanlawson/pinafore
fix bug in db cleanup
rodzic
4b04cc92f1
commit
8e81926076
|
@ -47,7 +47,8 @@ export const cleanupOldStatuses = debounce(async () => {
|
|||
if (type !== 'timeline') {
|
||||
continue
|
||||
}
|
||||
await cleanup(instanceName, dbName)
|
||||
let timeline = dbName.split('_').slice(-1)
|
||||
await cleanup(instanceName, timeline)
|
||||
}
|
||||
}
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
|
|
Ładowanie…
Reference in New Issue