Announce Log

This commit is contained in:
xiaomlove
2025-06-29 20:47:23 +07:00
parent 83cab0da09
commit 0e798355b4
31 changed files with 1105 additions and 44 deletions

View File

@@ -128,7 +128,7 @@ class SeedBoxRepository extends BaseRepository
return SeedBoxRecord::query()->whereIn('id', Arr::wrap($id))->where('uid', $uid)->delete();
}
public function updateStatus(SeedBoxRecord $seedBoxRecord, $status, $reason = ''): bool
public function updateStatus(SeedBoxRecord $seedBoxRecord, $status, $reason = '')
{
if (Auth::user()->class < User::CLASS_ADMINISTRATOR) {
throw new InsufficientPermissionException();