Skip to content

Commit

Permalink
Added adapter type in adapter listing response (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnyrahul authored Mar 1, 2024
1 parent c20243f commit 62bf9dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion backend/adapter_processor/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ class AdapterListSerializer(BaseAdapterSerializer):

class Meta(BaseAdapterSerializer.Meta):
model = AdapterInstance
fields = ("id", "adapter_id", "adapter_name") # type: ignore
fields = (
"id",
"adapter_id",
"adapter_name",
"adapter_type",
) # type: ignore

def to_representation(self, instance: AdapterInstance) -> dict[str, str]:
rep: dict[str, str] = super().to_representation(instance)
Expand Down

0 comments on commit 62bf9dd

Please sign in to comment.