Improvement for Uploading of receipts
This commit is contained in:
1 parent
b668195e21
commit
71cb09f051
3 files changed
+4
-9
No files matched your search
@@ -16,12 +16,6 @@ class WebDavProvider {
|
||||
public function uploadFile(string $fileName) : bool {
|
||||
$baseDir = storage_path('app/private/');
|
||||
|
||||
return $this->webDavClient->upload_file($baseDir . $fileName, $this->workingDirectory . '/'.
|
||||
basename($fileName)
|
||||
|
||||
|
||||
|
||||
);
|
||||
return $this->webDavClient->upload_file($baseDir . $fileName, $this->workingDirectory . '/');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user