Skip to content

Commit 9454b9c

Browse files
authored
Delay permissions textbox (#56)
* fixed evaluation upload * version
1 parent d5f01cd commit 9454b9c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cite.Api/Cite.Api.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<Version>1.7.0</Version>
3+
<Version>1.7.1</Version>
44
<TargetFramework>net8.0</TargetFramework>
55
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
66
<NoWarn>CS1591</NoWarn>

Cite.Api/Services/EvaluationService.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ public async Task<Evaluation> UploadJsonAsync(FileForm form, CancellationToken c
326326
var exists = await _context.ScoringModels.AnyAsync(m => m.Id == evaluationEntity.ScoringModelId, ct);
327327
if (!exists)
328328
{
329-
await _scoringModelService.InternalScoringModelEntityCopyAsync(evaluationEntity.ScoringModel, ct);
329+
var newScoringModel = await _scoringModelService.InternalScoringModelEntityCopyAsync(evaluationEntity.ScoringModel, ct);
330+
evaluationEntity.ScoringModelId = newScoringModel.Id;
330331
}
331332
evaluationEntity.ScoringModel = null;
332333
// if TeamTypes don't exist, then create them

0 commit comments

Comments
 (0)