Skip to content

Commit

Permalink
added createoredit ticket function to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
elraphty committed Nov 27, 2024
1 parent 10c368a commit df58557
Show file tree
Hide file tree
Showing 2 changed files with 266 additions and 174 deletions.
1 change: 1 addition & 0 deletions db/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ type Database interface {
DeleteProcessingMapByKey(processType, processKey string) error
DeleteProcessingMap(id uint) error
ProcessReversePayments(paymentId uint) error
CreateOrEditTicket(ticket *Tickets) (Tickets, error)
GetTicket(uuid string) (Tickets, error)
UpdateTicket(ticket Tickets) (Tickets, error)
DeleteTicket(uuid string) error
Expand Down
Loading

0 comments on commit df58557

Please sign in to comment.