Skip to content

Commit c537a8c

Browse files
committed
fix(file-storage): 修复文件存储本地驱动 PUT 文件错误
#389
1 parent 8bf02a1 commit c537a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/FileStorage/Filesystems/LocalFilesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public function createTask(Request $request, ResourceInterface $resource): TaskI
157157
*/
158158
public function put(string $path, $contents): bool
159159
{
160-
return (bool) $this->filesystem->put($path, $content);
160+
return (bool) $this->filesystem->put($path, $contents);
161161
}
162162

163163
/**

0 commit comments

Comments
 (0)