Skip to content

Commit

Permalink
Fixed a null exception when OverallEffectiveness is null (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyApeOne authored Nov 19, 2024
1 parent baed4da commit 4d17835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TramsDataApi/Factories/MISEstablishmentResponseFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static MISEstablishmentResponse Create(MisEstablishments misEstablishment
LAESTABAtTimeOfLastFullInspection = misEstablishments.LaestabAtTimeOfLatestFullInspection.ToString(),
SchoolNameAtTimeOfLastFullInspection = misEstablishments.SchoolNameAtTimeOfLatestFullInspection,
SchoolTypeAtTimeOfLastFullInspection = misEstablishments.SchoolTypeAtTimeOfLatestFullInspection,
OverallEffectiveness = misEstablishments.OverallEffectiveness.ToString(),
OverallEffectiveness = misEstablishments.OverallEffectiveness,
CategoryOfConcern = misEstablishments.CategoryOfConcern,
QualityOfEducation = misEstablishments.QualityOfEducation.ToString(),
BehaviourAndAttitudes = misEstablishments.BehaviourAndAttitudes.ToString(),
Expand Down

0 comments on commit 4d17835

Please sign in to comment.