Skip to content

Commit

Permalink
Fix meta not exported correctly to JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
setaou committed Aug 31, 2023
1 parent f02663c commit df71fe1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ func (m *MetaMap) Clone() *MetaMap {
return new
}

func (m *MetaMap) MarshalJSON() ([]byte, error) {
return json.Marshal(m.data)
}

// Bucket

type MetaBucket map[string]cty.Value
Expand Down

0 comments on commit df71fe1

Please sign in to comment.