diff options
Diffstat (limited to 'models/notification.go')
-rw-r--r-- | models/notification.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/notification.go b/models/notification.go index a1248c240b..d0b7852cd2 100644 --- a/models/notification.go +++ b/models/notification.go @@ -825,7 +825,7 @@ func getNotificationByID(e db.Engine, notificationID int64) (*Notification, erro } if !ok { - return nil, ErrNotExist{ID: notificationID} + return nil, db.ErrNotExist{ID: notificationID} } return notification, nil |