|
@@ -195,7 +195,7 @@ namespace TEAMModelOS.CosmosDBTriggers
|
|
foreach (ExamSubject subject in info.subjects)
|
|
foreach (ExamSubject subject in info.subjects)
|
|
{
|
|
{
|
|
string classCode = string.Empty;
|
|
string classCode = string.Empty;
|
|
- string cname = string.Empty;
|
|
|
|
|
|
+ string? cname = string.Empty;
|
|
if (string.IsNullOrEmpty(info.school) || !info.scope.Equals("school", StringComparison.OrdinalIgnoreCase))
|
|
if (string.IsNullOrEmpty(info.school) || !info.scope.Equals("school", StringComparison.OrdinalIgnoreCase))
|
|
{
|
|
{
|
|
classCode = "ExamClassResult-" + info.creatorId;
|
|
classCode = "ExamClassResult-" + info.creatorId;
|