mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
Fix bug
This commit is contained in:
parent
58bbff7b86
commit
f61d13903a
@ -1,6 +1,10 @@
|
|||||||
ChangeLog
|
ChangeLog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
unreleased
|
||||||
|
----------
|
||||||
|
* 管理画面の各種ジョブ数がおかしい問題を修正
|
||||||
|
|
||||||
10.92.2
|
10.92.2
|
||||||
----------
|
----------
|
||||||
* 管理画面で各種ジョブ数を一覧できるように
|
* 管理画面で各種ジョブ数を一覧できるように
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import define from '../../../define';
|
import define from '../../../define';
|
||||||
import { deliverQueue } from '../../../../../queue';
|
import { deliverQueue, inboxQueue } from '../../../../../queue';
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
tags: ['admin'],
|
tags: ['admin'],
|
||||||
@ -12,7 +12,7 @@ export const meta = {
|
|||||||
|
|
||||||
export default define(meta, async (ps) => {
|
export default define(meta, async (ps) => {
|
||||||
const deliverJobCounts = await deliverQueue.getJobCounts();
|
const deliverJobCounts = await deliverQueue.getJobCounts();
|
||||||
const inboxJobCounts = await deliverQueue.getJobCounts();
|
const inboxJobCounts = await inboxQueue.getJobCounts();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
deliver: deliverJobCounts,
|
deliver: deliverJobCounts,
|
||||||
|
Loading…
Reference in New Issue
Block a user