Skip to content

Commit 8ac5946

Browse files
author
Cezar Guimaraes
committed
fix streamsource serialization
1 parent d9f24b4 commit 8ac5946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nats/js/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def from_response(cls, resp: Dict[str, Any]):
164164
def as_dict(self) -> Dict[str, object]:
165165
result = super().as_dict()
166166
if self.subject_transforms:
167-
result["subject_transform"] = [
167+
result["subject_transforms"] = [
168168
tr.as_dict() for tr in self.subject_transforms
169169
]
170170
return result

0 commit comments

Comments
 (0)