Update Emojis immediately (#5106)
This commit is contained in:
parent
a8f945ae8e
commit
d5caf22d8c
4 changed files with 10 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ export const meta = {
|
|||
export default define(meta, async (ps, me) => {
|
||||
const instance = await fetchMeta(true);
|
||||
|
||||
const emojis = await Emojis.find({ where: { host: null }, cache: 3600000 }); // 1 hour
|
||||
const emojis = await Emojis.find({ where: { host: null }, cache: { id: 'meta_emojis', milliseconds: 3600000 } }); // 1 hour
|
||||
|
||||
const response: any = {
|
||||
maintainerName: instance.maintainerName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue