clear user cache when wearing medals

This commit is contained in:
xiaomlove
2022-08-21 20:00:11 +08:00
parent 6a34eef36f
commit e48dc3bba9
2 changed files with 1 additions and 3 deletions

View File

@@ -87,6 +87,7 @@ class MedalRepository extends BaseRepository
$userMedal->status = UserMedal::STATUS_NOT_WEARING;
}
$userMedal->save();
clear_user_cache($userId);
return $userMedal;
}