@@ -3589,15 +3589,15 @@ func (q *querier) RevokeDBCryptKey(ctx context.Context, activeKeyDigest string)
3589
3589
}
3590
3590
3591
3591
func (q * querier )SetInboxNotificationAsRead (ctx context.Context ,arg database.SetInboxNotificationAsReadParams )error {
3592
- fetch := func (ctx context.Context ,id uuid.UUID ) (database.NotificationsInbox ,error ) {
3592
+ fetchFunc := func (ctx context.Context ,id uuid.UUID ) (database.NotificationsInbox ,error ) {
3593
3593
return q .db .GetInboxNotificationByID (ctx ,id )
3594
3594
}
3595
3595
3596
- update := func (ctx context.Context ,arg database.SetInboxNotificationAsReadParams )error {
3596
+ updateFunc := func (ctx context.Context ,arg database.SetInboxNotificationAsReadParams )error {
3597
3597
return q .db .SetInboxNotificationAsRead (ctx ,arg )
3598
3598
}
3599
3599
3600
- return update (q .log ,q .auth ,policy . ActionUpdate , fetch , update )(ctx ,arg )
3600
+ return update (q .log ,q .auth ,fetchFunc , updateFunc )(ctx ,arg )
3601
3601
}
3602
3602
3603
3603
func (q * querier )TryAcquireLock (ctx context.Context ,id int64 ) (bool ,error ) {