You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Modify the function responsible for assigning tickets to users so that it triggers a notification by calling the sendNotification function. This ensures users are notified immediately when a ticket is assigned to them.
Acceptance Criteria:
1. Update the Ticket Assignment Function
Integrate the sendNotification function call into the ticket assignment logic.
Parameters to be passed to sendNotification:
pubkey: The public key of the user to whom the ticket is assigned.
event: The event type, e.g., ticket_assigned.
content: A message indicating the ticket assignment, e.g., "You have been assigned a new ticket: {ticket_title}.".
Description:
Modify the function responsible for assigning tickets to users so that it triggers a notification by calling the
sendNotification
function. This ensures users are notified immediately when a ticket is assigned to them.Acceptance Criteria:
1. Update the Ticket Assignment Function
sendNotification
function call into the ticket assignment logic.sendNotification
:pubkey
: The public key of the user to whom the ticket is assigned.event
: The event type, e.g.,ticket_assigned
.content
: A message indicating the ticket assignment, e.g.,"You have been assigned a new ticket: {ticket_title}."
.This ticket depends on this
The text was updated successfully, but these errors were encountered: