Skip to content

Commit

Permalink
fix: nullable channel type
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan committed Jun 21, 2024
1 parent 157aef3 commit 1538950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Values/ChannelMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function toArray(): array
'copyright' => $this->copyright,
'txts' => $this->txts->toArray(),
'fundings' => $this->fundings->toArray(),
'type' => $this->type->value,
'type' => $this->type?->value,
'complete' => $this->complete,
];
}
Expand Down

0 comments on commit 1538950

Please sign in to comment.