diff --git a/src/Payloads/FileContentsPayload.php b/src/Payloads/FileContentsPayload.php index d3fed09..872c05c 100644 --- a/src/Payloads/FileContentsPayload.php +++ b/src/Payloads/FileContentsPayload.php @@ -30,7 +30,8 @@ public function getContent(): array return [ 'content' => $this->encodeContent($contents), - 'label' => basename($this->file), + 'label' => 'File', + 'name' => basename($this->file), ]; }