mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-30 08:42:16 +00:00
refactor: update database service components to utilize environment context for project name and organization authorization checks
This commit is contained in:
@@ -52,7 +52,11 @@ export const findRedisById = async (redisId: string) => {
|
||||
const result = await db.query.redis.findFirst({
|
||||
where: eq(redis.redisId, redisId),
|
||||
with: {
|
||||
project: true,
|
||||
environment: {
|
||||
with: {
|
||||
project: true,
|
||||
},
|
||||
},
|
||||
mounts: true,
|
||||
server: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user