mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00:00
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
|
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