|
@@ -2137,9 +2137,9 @@ namespace TEAMModelOS.Controllers
|
|
|
if (acs.type == 1)
|
|
|
{
|
|
|
Azure.Response eresponse = await client.GetContainer("TEAMModelOS", "Common").ReadItemStreamAsync(acs.acId, new PartitionKey($"Exam-{art.school}"));
|
|
|
- if (response.Status == 200)
|
|
|
+ if (eresponse.Status == 200)
|
|
|
{
|
|
|
- ExamInfo data = JsonDocument.Parse(response.Content).RootElement.Deserialize<ExamInfo>();
|
|
|
+ ExamInfo data = JsonDocument.Parse(eresponse.Content).RootElement.Deserialize<ExamInfo>();
|
|
|
data.status = 404;
|
|
|
await client.GetContainer("TEAMModelOS", "Common").ReplaceItemAsync(data, data.id, new PartitionKey($"{data.code}"));
|
|
|
}
|