From aebe7fb4a0742770b406cdabfa04deef3fb22d39 Mon Sep 17 00:00:00 2001 From: Dominic Hock Date: Mon, 15 Jul 2024 19:23:10 +0200 Subject: [PATCH] chore: add label File to FileContentsPayload.php Signed-off-by: Dominic Hock --- src/Payloads/FileContentsPayload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Payloads/FileContentsPayload.php b/src/Payloads/FileContentsPayload.php index d3fed094..872c05c6 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), ]; }