mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-11 06:25:17 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -488,8 +488,7 @@ export const projectRouter = createTRPCRouter({
|
|||||||
),
|
),
|
||||||
|
|
||||||
homeStats: protectedProcedure.query(async ({ ctx }) => {
|
homeStats: protectedProcedure.query(async ({ ctx }) => {
|
||||||
const isPrivileged =
|
const isPrivileged = ctx.user.role === "owner" || ctx.user.role === "admin";
|
||||||
ctx.user.role === "owner" || ctx.user.role === "admin";
|
|
||||||
|
|
||||||
let accessedProjects: string[] = [];
|
let accessedProjects: string[] = [];
|
||||||
let accessedEnvironments: string[] = [];
|
let accessedEnvironments: string[] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user