mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-13 18:05:31 +02:00
refactor: add authorization
This commit is contained in:
@@ -254,7 +254,7 @@ export const applicationRouter = createTRPCRouter({
|
||||
|
||||
if (IS_CLOUD && application.serverId) {
|
||||
jobData.serverId = application.serverId;
|
||||
await deploy(jobData);
|
||||
await deploy(jobData, ctx.session.id);
|
||||
return true;
|
||||
}
|
||||
await myQueue.add(
|
||||
@@ -482,7 +482,7 @@ export const applicationRouter = createTRPCRouter({
|
||||
};
|
||||
if (IS_CLOUD && application.serverId) {
|
||||
jobData.serverId = application.serverId;
|
||||
await deploy(jobData);
|
||||
await deploy(jobData, ctx.session.id);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -571,7 +571,7 @@ export const applicationRouter = createTRPCRouter({
|
||||
};
|
||||
if (IS_CLOUD && app.serverId) {
|
||||
jobData.serverId = app.serverId;
|
||||
await deploy(jobData);
|
||||
await deploy(jobData, ctx.session.id);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user