You've already forked pilot-sdk
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f4cb1ee7a |
@@ -14,6 +14,12 @@ abstract class Action extends Entity
|
||||
?string $url = null,
|
||||
array $files = [],
|
||||
) {
|
||||
foreach ($files as $i => $file) {
|
||||
if (isset($file['content'])) {
|
||||
$files[$i]['content'] = base64_encode($file['content']);
|
||||
}
|
||||
}
|
||||
|
||||
return [
|
||||
'json' => [
|
||||
'type' => 'action',
|
||||
|
||||
Reference in New Issue
Block a user