mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-03 23:09:18 +02:00
chore: update CI to v4.6.3 + all php and js dependencies
This commit is contained in:
parent
96b2df15b0
commit
346c00e7b5
206 changed files with 6239 additions and 5336 deletions
|
|
@ -86,11 +86,13 @@ class EpisodeCommentModel extends UuidModel
|
|||
}
|
||||
|
||||
if ($comment->in_reply_to_id === null) {
|
||||
(new EpisodeModel())->builder()
|
||||
new EpisodeModel()
|
||||
->builder()
|
||||
->where('id', $comment->episode_id)
|
||||
->increment('comments_count');
|
||||
} else {
|
||||
(new self())->builder()
|
||||
new self()
|
||||
->builder()
|
||||
->where('id', service('uuid')->fromString($comment->in_reply_to_id)->getBytes())
|
||||
->increment('replies_count');
|
||||
}
|
||||
|
|
@ -180,7 +182,8 @@ class EpisodeCommentModel extends UuidModel
|
|||
->where('id', $comment->episode_id)
|
||||
->decrement('comments_count');
|
||||
} else {
|
||||
(new self())->builder()
|
||||
new self()
|
||||
->builder()
|
||||
->where('id', service('uuid')->fromString($comment->in_reply_to_id)->getBytes())
|
||||
->decrement('replies_count');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue