remove logs spam
This commit is contained in:
parent
40fcb5896a
commit
9a1420eae0
|
|
@ -51,7 +51,7 @@ func (wc *WorkflowController) ProjectCreate(ctx context.Context, project domain.
|
|||
// Set ID from the DB raw:
|
||||
project.ID = string(appconfig.TicketID.Int32)
|
||||
|
||||
projectRow, err := qtx.CreateTicket(ctx, db.CreateTicketParams{
|
||||
_, err = qtx.CreateTicket(ctx, db.CreateTicketParams{
|
||||
Key: pgtype.Text{String: project.Key, Valid: true},
|
||||
Channelid: pgtype.Text{String: project.ChannelID, Valid: true},
|
||||
Title: pgtype.Text{String: project.Name, Valid: true},
|
||||
|
|
@ -61,7 +61,6 @@ func (wc *WorkflowController) ProjectCreate(ctx context.Context, project domain.
|
|||
return nil, err
|
||||
} else {
|
||||
tx.Commit(ctx)
|
||||
fmt.Println(projectRow)
|
||||
}
|
||||
|
||||
return &project, nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue