Skip to content

Commit

Permalink
fix: Apply default max file size of 10 MB
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr committed Jan 9, 2025
1 parent c742450 commit acd94f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/ConfigService.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function getJwtSecretKey(): string {
}

public function getMaxFileSize(): int {
return $this->appConfig->getAppValueInt('max_file_size');
return $this->appConfig->getAppValueInt('max_file_size', 10);
}

public function setMaxFileSize(int $maxFileSize): void {
Expand Down

0 comments on commit acd94f2

Please sign in to comment.