This commit is contained in:
syuilo
2018-06-18 14:28:43 +09:00
parent 80e5645a84
commit e66d7babc5
56 changed files with 115 additions and 112 deletions

View File

@ -12,7 +12,7 @@ const queue = createQueue({
}
});
export function createHttp(data) {
export function createHttp(data: any) {
return queue
.create('http', data)
.removeOnComplete(true)
@ -21,7 +21,7 @@ export function createHttp(data) {
.backoff({ delay: 16384, type: 'exponential' });
}
export function deliver(user: ILocalUser, content, to) {
export function deliver(user: ILocalUser, content: any, to: any) {
createHttp({
title: 'deliver',
type: 'deliver',