mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 09:14:44 +02:00
Fix activity log on rename api endpoint (#1149)
This commit is contained in:
parent
ab953b2f4d
commit
a47ad071c9
@ -172,8 +172,8 @@ class FileController extends ClientApiController
|
||||
Activity::event('server:file.rename')
|
||||
->property('directory', $request->input('root'))
|
||||
->property('files', $files)
|
||||
->property('to', $files['to'])
|
||||
->property('from', $files['from'])
|
||||
->property('to', $files[0]['to'])
|
||||
->property('from', $files[0]['from'])
|
||||
->log();
|
||||
|
||||
return new JsonResponse([], Response::HTTP_NO_CONTENT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user