Skip to content

isDemoTicket case-sensitive, demo rows leak into the real dashboard #15

Description

@royalpinto007

Problem

DEMO_SENDERS.has(t.sender) is exact-match: SAM@BUYER.COM bypasses the demo filter and lands in the real dashboard.

Where

lib/demo.ts (isDemoTicket).

Acceptance

Add a failing test first asserting isDemoTicket({sender: "SAM@BUYER.COM"}) returns true. Then fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions