Skip to content

Commit

Permalink
Fix major parser bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jpahm committed Nov 7, 2023
1 parent 9e39a1c commit b031f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func writeJSON(filepath string, data interface{}) error {
defer fptr.Close()
encoder := json.NewEncoder(fptr)
encoder.SetIndent("", "\t")
encoder.Encode(getMapValues(Courses))
encoder.Encode(data)
return nil
}

Expand Down

0 comments on commit b031f22

Please sign in to comment.