Cache meta

This commit is contained in:
syuilo
2019-04-24 08:11:19 +09:00
parent 8a55bdd89d
commit 5aa5896b22
34 changed files with 62 additions and 55 deletions

View File

@@ -1,7 +1,7 @@
import * as push from 'web-push';
import config from '../config';
import { SwSubscriptions } from '../models';
import fetchMeta from '../misc/fetch-meta';
import { fetchMeta } from '../misc/fetch-meta';
export default async function(userId: string, type: string, body?: any) {
const meta = await fetchMeta();