Skip to content

Commit

Permalink
Also expose other ingredient source information over the API
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Jul 4, 2024
1 parent 5b93fe8 commit bb99d6e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wger/nutrition/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,13 @@ class Meta:
'id',
'uuid',
'remote_id',
'source_name',
'source_url',
'code',
'name',
'created',
'last_update',
'last_imported',
'energy',
'protein',
'carbohydrates',
Expand Down Expand Up @@ -151,10 +154,14 @@ class Meta:
fields = [
'id',
'uuid',
'remote_id',
'source_name',
'source_url',
'code',
'name',
'created',
'last_update',
'last_imported',
'energy',
'protein',
'carbohydrates',
Expand Down

0 comments on commit bb99d6e

Please sign in to comment.