forked from FoundKeyGang/FoundKey
Fix bug
This commit is contained in:
parent
a2f06acaa4
commit
d365b9f634
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
|||
ChangeLog
|
||||
=========
|
||||
|
||||
unreleased
|
||||
----------
|
||||
* 管理画面の各種ジョブ数がおかしい問題を修正
|
||||
|
||||
10.92.2
|
||||
----------
|
||||
* 管理画面で各種ジョブ数を一覧できるように
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import define from '../../../define';
|
||||
import { deliverQueue } from '../../../../../queue';
|
||||
import { deliverQueue, inboxQueue } from '../../../../../queue';
|
||||
|
||||
export const meta = {
|
||||
tags: ['admin'],
|
||||
|
@ -12,7 +12,7 @@ export const meta = {
|
|||
|
||||
export default define(meta, async (ps) => {
|
||||
const deliverJobCounts = await deliverQueue.getJobCounts();
|
||||
const inboxJobCounts = await deliverQueue.getJobCounts();
|
||||
const inboxJobCounts = await inboxQueue.getJobCounts();
|
||||
|
||||
return {
|
||||
deliver: deliverJobCounts,
|
||||
|
|
Loading…
Reference in a new issue