KI-AGENT: Matrix Push Worker Diagnose ergänzen
This commit is contained in:
@@ -4,6 +4,7 @@ import multipart from "@fastify/multipart"
|
||||
import { and, desc, eq, inArray, ne } from "drizzle-orm"
|
||||
import { authProfiles, authTenantUsers, authUsers, notificationsItems, projects } from "../../db/schema"
|
||||
import { matrixService } from "../modules/matrix.service"
|
||||
import { getMatrixPushWorkerState } from "../modules/matrix-push-worker.service"
|
||||
import { NotificationService, UserDirectory } from "../modules/notification.service"
|
||||
|
||||
const getUserDirectory: UserDirectory = async (server: FastifyInstance, userId) => {
|
||||
@@ -448,6 +449,10 @@ export default async function communicationRoutes(server: FastifyInstance) {
|
||||
}
|
||||
})
|
||||
|
||||
server.get("/communication/matrix/push-worker", async () => {
|
||||
return getMatrixPushWorkerState()
|
||||
})
|
||||
|
||||
server.get("/communication/matrix/media", async (req, reply) => {
|
||||
try {
|
||||
const query = req.query as { uri?: string; name?: string }
|
||||
|
||||
Reference in New Issue
Block a user