Skip to content

Error in email template for "approval required" workflow #16244

@Trigs-0

Description

@Trigs-0

Describe the bug
When you create a lock using the 'approval' workflow, there is an error in the default email template structure. It defaults to using the title of the key instead of the title of the lock in the email. It says:

"You've been invited to [key]"

instead of

"You've been invited to [lock]"

The default title for keys is "Ticket for [lock]"

So the default email reads: "You've been invited to Ticket for [lock]" when someone applies to your event.

To Reproduce
Steps to reproduce the behavior:

  1. Set up an lock that requires approval to get the ticket
  2. Have someone apply for an invite
  3. Check their email and it will show the issue

Expected behavior
The email should use the [lock] field in the default text instead of [key].

Additional context
link to discord conversation about it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions