diff options
Diffstat (limited to 'internal/db/follows.go')
-rw-r--r-- | internal/db/follows.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/follows.go b/internal/db/follows.go index 83f37e2e..bf50042a 100644 --- a/internal/db/follows.go +++ b/internal/db/follows.go @@ -55,7 +55,7 @@ func (*follows) updateFollowingCount(tx *gorm.DB, userID, followID int64) error ). Error if err != nil { - return errors.Wrap(err, `update "num_followers"`) + return errors.Wrap(err, `update "user.num_followers"`) } /* @@ -75,7 +75,7 @@ func (*follows) updateFollowingCount(tx *gorm.DB, userID, followID int64) error ). Error if err != nil { - return errors.Wrap(err, `update "num_following"`) + return errors.Wrap(err, `update "user.num_following"`) } return nil } |