2756f553c6
* wip
* wip
* wip
* Update attached_notes.ts
* wip
* Refactor
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update call.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* ✌️
* Fix
18 lines
329 B
TypeScript
18 lines
329 B
TypeScript
import define from '../../define';
|
|
import { createExportNotesJob } from '../../../../queue';
|
|
import ms = require('ms');
|
|
|
|
export const meta = {
|
|
secure: true,
|
|
requireCredential: true,
|
|
limit: {
|
|
duration: ms('1day'),
|
|
max: 1,
|
|
},
|
|
};
|
|
|
|
export default define(meta, async (ps, user) => {
|
|
createExportNotesJob(user);
|
|
|
|
return;
|
|
});
|