Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(static-assets): raw assets are being passed bad options arg #729

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# api

## 9x.0.1 - 23 January 2024
- Fix typo when setting visibility on raw assets

## 9x.0.0 - 23 January 2024
- Update Laravel to version 9

Expand Down
2 changes: 1 addition & 1 deletion app/Jobs/SetWikiLogo.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function handle(): void
$logosDir = Wiki::getLogosDirectory($wiki->id);

// Upload the local image to the cloud storage
$storage->putFileAs($logosDir, new File($this->logoPath), "raw.png", ['visibilty' => 'public']);
$storage->putFileAs($logosDir, new File($this->logoPath), "raw.png", ['visibility' => 'public']);

// Store a conversion for the actual site logo
$reducedPath = $logosDir . '/135.png';
Expand Down