Skip to content

Commit

Permalink
change approve_status to non-omitempty field
Browse files Browse the repository at this point in the history
Signed-off-by: Rajiv Harlalka <[email protected]>
  • Loading branch information
rajivharlalka committed Sep 21, 2024
1 parent 07fbb8a commit 08c4d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/models/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type QuestionPaper struct {
FileLink string `json:"filelink"`
FromLibrary bool `json:"from_library"`
UploadTimestamp pgtype.Timestamp `json:"upload_timestamp,omitempty"`
ApproveStatus bool `json:"approve_status,omitempty"`
ApproveStatus bool `json:"approve_status"`
CourseDetails string `json:"course_details,omitempty"`
}

Expand Down

0 comments on commit 08c4d91

Please sign in to comment.