MCPcopy Index your code
hub / github.com/coder/coder / GetInboxNotificationByID

Method GetInboxNotificationByID

coderd/database/dbauthz/dbauthz.go:3560–3562  ·  view source on GitHub ↗
(ctx context.Context, id uuid.UUID)

Source from the content-addressed store, hash-verified

3558}
3559
3560func (q *querier) GetInboxNotificationByID(ctx context.Context, id uuid.UUID) (database.InboxNotification, error) {
3561 return fetchWithAction(q.log, q.auth, policy.ActionRead, q.db.GetInboxNotificationByID)(ctx, id)
3562}
3563
3564func (q *querier) GetInboxNotificationsByUserID(ctx context.Context, userID database.GetInboxNotificationsByUserIDParams) ([]database.InboxNotification, error) {
3565 return fetchWithPostFilter(q.auth, policy.ActionRead, q.db.GetInboxNotificationsByUserID)(ctx, userID)

Callers

nothing calls this directly

Calls 1

fetchWithActionFunction · 0.85

Tested by

no test coverage detected