fix(reports): gate report queries behind staff check; prevent non-staff crashes; trigger Convex deploy by touching convex/reports.ts
This commit is contained in:
parent
2cdc856009
commit
4b4c0d8e69
5 changed files with 20 additions and 15 deletions
|
|
@ -330,6 +330,7 @@ export const backlogOverview = query({
|
|||
},
|
||||
});
|
||||
|
||||
// Touch to ensure CI convex_deploy runs and that agentProductivity is deployed
|
||||
export const agentProductivity = query({
|
||||
args: { tenantId: v.string(), viewerId: v.id("users"), range: v.optional(v.string()), companyId: v.optional(v.id("companies")) },
|
||||
handler: async (ctx, { tenantId, viewerId, range, companyId }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue