mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
Fix bug
This commit is contained in:
parent
58bbff7b86
commit
f61d13903a
2 changed files with 6 additions and 2 deletions
|
@ -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 a new issue