1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-01 15:05:32 +02:00
This commit is contained in:
syuilo
2018-04-05 23:24:51 +09:00
parent 30bd467b71
commit 0de40f3a76
4 changed files with 16 additions and 27 deletions

View File

@@ -28,6 +28,15 @@ export function createDb(data) {
return queue.create('db', data);
}
export function deliver(user, content, to) {
return createHttp({
type: 'deliver',
user,
content,
to
});
}
export default function() {
queue.process('db', db);