mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 11:20:41 +03:00
[PR #1149] [MERGED] Fix activity log on rename api endpoint #1209
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1149
Author: @Boy132
Created: 3/22/2025
Status: ✅ Merged
Merged: 3/22/2025
Merged by: @Boy132
Base:
main← Head:boy132/fix-api-rename📝 Commits (1)
0ae4101fix activity log on rename api endpoint📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
app/Http/Controllers/Api/Client/Servers/FileController.php(+2 -2)📄 Description
Closes #1148
$filesis a two dimensional array because you can rename/ move multiple files at once.toandfromare only displayed in the activity log if you rename/ move one file so it's fine always using the first item.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.