add System to top message of ticket
This commit is contained in:
parent
656c9216fe
commit
b7a3dfc92e
@ -95,6 +95,7 @@ func (t *TicketController) CreateTicket(ctx *fiber.Ctx) error {
|
||||
ctx.Get("Origin"),
|
||||
request.Title,
|
||||
request.Message,
|
||||
request.System,
|
||||
[]string{},
|
||||
)
|
||||
if err != nil {
|
||||
|
@ -221,6 +221,7 @@ func (d *DAL) CreateTicket(
|
||||
sessionID,
|
||||
origin,
|
||||
title, message string,
|
||||
isSystem bool,
|
||||
files []string,
|
||||
) (string, error) {
|
||||
|
||||
@ -241,6 +242,7 @@ func (d *DAL) CreateTicket(
|
||||
UserID: userID,
|
||||
SessionID: sessionID,
|
||||
TicketID: ticketID,
|
||||
System: isSystem,
|
||||
Message: message,
|
||||
Files: []string{},
|
||||
Shown: map[string]int{},
|
||||
|
Loading…
Reference in New Issue
Block a user