Skip to content

Commit

Permalink
fix : jsonb_agg postgres error marshal
Browse files Browse the repository at this point in the history
  • Loading branch information
dadang committed Jan 29, 2024
1 parent a9e7e9c commit 4aaa4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (nj *NullJSON) Scan(value interface{}) error {
if len(t) == 0 {
res = NullType
} else {
res = t
res = []byte(string(t))
}

default:
Expand Down

0 comments on commit 4aaa4eb

Please sign in to comment.