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
@@ -121,7 +121,7 @@ class PostController extends Controller
}
// Achievements
$user->unlock(new UserMadeFirstPost(), 1);
$user->unlock(new UserMadeFirstPost());
$user->addProgress(new UserMade25Posts(), 1);
$user->addProgress(new UserMade50Posts(), 1);
$user->addProgress(new UserMade100Posts(), 1);