Skip to content

Commit 340dfbf

Browse files
committed
SEBWIN-1057: Made LMS type optional for server handshake.
1 parent e277f19 commit 340dfbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SafeExamBrowser.Server/Parser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ internal bool TryParseExams(HttpContent content, out IEnumerable<Exam> exams)
187187
list.Add(new Exam
188188
{
189189
Id = exam["examId"].Value<string>(),
190-
LmsName = exam["lmsType"].Value<string>(),
190+
LmsName = exam["lmsType"]?.Value<string>(),
191191
Name = exam["name"].Value<string>(),
192192
Url = exam["url"].Value<string>()
193193
});

0 commit comments

Comments
 (0)