Skip to content

Commit

Permalink
Allow null course unit year (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisDuarte1 authored Oct 6, 2023
2 parents 90d2822 + c7ed168 commit 71b7669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uni/lib/model/entities/course_units/course_unit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class CourseUnit {
code: data['ucurr_codigo'] as String,
abbreviation: data['ucurr_sigla'] as String,
name: data['ucurr_nome'] as String,
curricularYear: data['ano'] as int,
curricularYear: data['ano'] as int?,
occurrId: data['ocorr_id'] as int,
semesterCode: data['per_codigo'] as String?,
semesterName: data['per_nome'] as String?,
Expand Down

0 comments on commit 71b7669

Please sign in to comment.