mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-28 23:52:36 +01:00
Fix selected revision information not being attached to context in compile flow
This commit is contained in:
@@ -144,6 +144,8 @@ namespace Tgstation.Server.Host.Controllers
|
||||
};
|
||||
databaseContext.Instances.Attach(compileJob.RevisionInformation.Instance);
|
||||
}
|
||||
else
|
||||
databaseContext.RevisionInformations.Attach(compileJob.RevisionInformation);
|
||||
|
||||
databaseContext.CompileJobs.Add(compileJob);
|
||||
await databaseContext.Save(cancellationToken).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user