Skip to content

Commit 59471c4

Browse files
committed
🐛 Typo
1 parent 204e91e commit 59471c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/resource/book/repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (r *Repository) Create(book *Book) (*Book, error) {
3434

3535
func (r *Repository) Read(id uuid.UUID) (*Book, error) {
3636
book := &Book{}
37-
if err := r.db.Where("id = ?", id).First(&book).Error; err != nil {
37+
if err := r.db.Where("id = ?", id).First(book).Error; err != nil {
3838
return nil, err
3939
}
4040

0 commit comments

Comments
 (0)