Skip to content

Commit

Permalink
Merge pull request #2100 from MahtabBukhari/update_message
Browse files Browse the repository at this point in the history
Update message in Update postToStakwork handler to post to websocket with channelID on successful POST operation
  • Loading branch information
humansinstitute authored Dec 5, 2024
2 parents e5b5a9d + 0efecb1 commit 93ddda9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func (th *ticketHandler) PostTicketDataToStakwork(w http.ResponseWriter, r *http
ticketMsg := websocket.TicketMessage{
BroadcastType: "direct",
SourceSessionID: ticketRequest.Metadata.ID,
Message: fmt.Sprintf("Hive has successfully updated your ticket %s", ticketRequest.Ticket.Name),
Message: fmt.Sprintf("I have your updates and I'm rewriting ticket %s now", ticketRequest.Ticket.Name),
Action: "message",
TicketDetails: websocket.TicketData{
FeatureUUID: ticketRequest.Ticket.FeatureUUID,
Expand Down

0 comments on commit 93ddda9

Please sign in to comment.