mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: add authorization
This commit is contained in:
@@ -256,7 +256,7 @@ export const composeRouter = createTRPCRouter({
|
||||
|
||||
if (IS_CLOUD && compose.serverId) {
|
||||
jobData.serverId = compose.serverId;
|
||||
await deploy(jobData);
|
||||
await deploy(jobData, ctx.session.id);
|
||||
return true;
|
||||
}
|
||||
await myQueue.add(
|
||||
@@ -288,7 +288,7 @@ export const composeRouter = createTRPCRouter({
|
||||
};
|
||||
if (IS_CLOUD && compose.serverId) {
|
||||
jobData.serverId = compose.serverId;
|
||||
await deploy(jobData);
|
||||
await deploy(jobData, ctx.session.id);
|
||||
return true;
|
||||
}
|
||||
await myQueue.add(
|
||||
|
||||
Reference in New Issue
Block a user