Reading history

This commit is contained in:
User
2024-12-28 13:32:46 -05:00
parent c722f4f9e6
commit 38ad983d6d
11 changed files with 156 additions and 87 deletions

View File

@@ -56,7 +56,7 @@ class User extends Authenticatable implements MustVerifyEmail
public function readingHistories(): BelongsToMany
{
return $this->belongsToMany(Comic::class, 'reading_histories')->withTimestamps();
return $this->belongsToMany(Chapter::class, 'reading_histories')->withTimestamps();
}
}