Self hosted FLOSS fitness/workout, nutrition and weight tracker
Also expose other ingredient source information over the API
Roland Geiderbb99d6ec5f5f
diff --git a/wger/nutrition/api/serializers.py b/wger/nutrition/api/serializers.pyindex c085f2264..bcc9676d5 100644--- a/wger/nutrition/api/serializers.py+++ b/wger/nutrition/api/serializers.py@@ -115,10 +115,13 @@ class IngredientSerializer(serializers.ModelSerializer):'id','uuid','remote_id',+ 'source_name',+ 'source_url','code','name','created','last_update',+ 'last_imported','energy','protein','carbohydrates',@@ -151,10 +154,14 @@ class IngredientInfoSerializer(serializers.ModelSerializer):fields = ['id','uuid',+ 'remote_id',+ 'source_name',+ 'source_url','code','name','created','last_update',+ 'last_imported','energy','protein','carbohydrates',