fix: achievement unlock

The unlock() function only takes a single argument
This commit is contained in:
Roardom
2023-04-12 03:05:47 +00:00
parent b70bbf8fa4
commit a0429ca442
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ class SubtitleController extends Controller
}
// Achievements
$user->unlock(new UserUploadedFirstSubtitle(), 1);
$user->unlock(new UserUploadedFirstSubtitle());
$user->addProgress(new UserUploaded25Subtitles(), 1);
$user->addProgress(new UserUploaded50Subtitles(), 1);
$user->addProgress(new UserUploaded100Subtitles(), 1);