Skip to content

Commit

Permalink
add notification type for CommentLikedNotification
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadmp97 committed Sep 14, 2023
1 parent 8e67529 commit a44d150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Resources/NotificationResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public function toArray(Request $request): array
'App\Notifications\AchievementEarnedNotification' => 'achievement',
'App\Notifications\ChallengeCommentedNotification' => 'comment',
'App\Notifications\ChallengeLikedNotification' => 'like',
'App\Notifications\CommentLikedNotification' => 'like',
'App\Notifications\NewFollowerNotification' => 'follower',
][$this->type];

Expand Down

0 comments on commit a44d150

Please sign in to comment.