mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 18:20:31 -05:00
refactor: encapsed strings to sprintf
This commit is contained in:
@@ -251,7 +251,7 @@ class TorrentController extends BaseController
|
||||
}
|
||||
|
||||
TorrentHelper::approveHelper($torrent->id);
|
||||
\info('New API Upload', ["User {$user->username} has uploaded {$torrent->name}"]);
|
||||
\info('New API Upload', [sprintf('User %s has uploaded %s', $user->username, $torrent->name)]);
|
||||
}
|
||||
|
||||
return $this->sendResponse(\route('torrent.download.rsskey', ['id' => $torrent->id, 'rsskey' => \auth('api')->user()->rsskey]), 'Torrent uploaded successfully.');
|
||||
|
||||
Reference in New Issue
Block a user