(ctx context.Context, args database.UpdateInboxNotificationReadStatusParams)
| 6927 | } |
| 6928 | |
| 6929 | func (q *querier) UpdateInboxNotificationReadStatus(ctx context.Context, args database.UpdateInboxNotificationReadStatusParams) error { |
| 6930 | fetchFunc := func(ctx context.Context, args database.UpdateInboxNotificationReadStatusParams) (database.InboxNotification, error) { |
| 6931 | return q.db.GetInboxNotificationByID(ctx, args.ID) |
| 6932 | } |
| 6933 | |
| 6934 | return update(q.log, q.auth, fetchFunc, q.db.UpdateInboxNotificationReadStatus)(ctx, args) |
| 6935 | } |
| 6936 | |
| 6937 | func (q *querier) UpdateMCPServerConfig(ctx context.Context, arg database.UpdateMCPServerConfigParams) (database.MCPServerConfig, error) { |
| 6938 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
nothing calls this directly
no test coverage detected