mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 04:59:06 +01:00
16 lines
294 B
TypeScript
16 lines
294 B
TypeScript
import http from './processors/http';
|
|
import { ILocalUser } from '../models/user';
|
|
|
|
export function createHttpJob(data: any) {
|
|
return http(data, () => {});
|
|
}
|
|
|
|
export function deliver(user: ILocalUser, content: any, to: any) {
|
|
createHttpJob({
|
|
type: 'deliver',
|
|
user,
|
|
content,
|
|
to
|
|
});
|
|
}
|