Skip to content

Commit

Permalink
restore original ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
ccomb committed Oct 17, 2024
1 parent 325ae90 commit a19ce12
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Data/Food/Process.elm
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,16 @@ decodeProcess impactsDecoder =
encode : Process -> Encode.Value
encode process =
Encode.object
[ ( "name", Encode.string (nameToString process.name) )
, ( "displayName", EncodeExtra.maybe Encode.string process.displayName )
, ( "impacts", Impact.encode process.impacts )
, ( "unit", encodeStringUnit process.unit )
, ( "identifier", encodeIdentifier process.identifier )
, ( "categories", Encode.list encodeCategory process.categories )
, ( "system_description", Encode.string process.systemDescription )
[ ( "categories", Encode.list encodeCategory process.categories )
, ( "comment", EncodeExtra.maybe Encode.string process.comment )
, ( "displayName", EncodeExtra.maybe Encode.string process.displayName )
, ( "id", Encode.string process.id_ )
, ( "identifier", encodeIdentifier process.identifier )
, ( "impacts", Impact.encode process.impacts )
, ( "name", Encode.string (nameToString process.name) )
, ( "source", Encode.string process.source )
, ( "system_description", Encode.string process.systemDescription )
, ( "unit", encodeStringUnit process.unit )
]


Expand Down

0 comments on commit a19ce12

Please sign in to comment.