fixed post count
Some checks failed
CI/CD Pipeline / test (push) Successful in 3s
CI/CD Pipeline / deploy (push) Failing after 1s

This commit is contained in:
Micha
2026-01-18 18:26:51 +01:00
parent 534c38d58a
commit 8e029d2a94
5 changed files with 18 additions and 13 deletions

View File

@@ -107,6 +107,11 @@ class User extends Authenticatable implements MustVerifyEmail
return $this->hasMany(Post::class);
}
public function threads(): HasMany
{
return $this->hasMany(Thread::class);
}
public function thanksGiven(): HasMany
{
return $this->hasMany(PostThank::class);