mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 21:49:19 +00:00
refactor(agent): invoke harness.subscribe directly without typeof check
This commit is contained in:
@@ -119,7 +119,6 @@ export class AiUsageService {
|
||||
|
||||
since.setMinutes(0, 0, 0)
|
||||
|
||||
|
||||
if (!params.userId) {
|
||||
// Return Team-Level Usage (userId = null)
|
||||
const teamRecords = await prisma.aiUsage.findMany({
|
||||
|
||||
Reference in New Issue
Block a user