Cache meta
This commit is contained in:
parent
8a55bdd89d
commit
5aa5896b22
34 changed files with 62 additions and 55 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue