feat: improve follow export
This commit is contained in:
parent
46c0280764
commit
20134a5367
7 changed files with 156 additions and 84 deletions
|
@ -126,9 +126,11 @@ export function createExportNotesJob(user: ThinUser) {
|
|||
});
|
||||
}
|
||||
|
||||
export function createExportFollowingJob(user: ThinUser) {
|
||||
export function createExportFollowingJob(user: ThinUser, excludeMuting = false, excludeInactive = false) {
|
||||
return dbQueue.add('exportFollowing', {
|
||||
user: user,
|
||||
excludeMuting,
|
||||
excludeInactive,
|
||||
}, {
|
||||
removeOnComplete: true,
|
||||
removeOnFail: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue