remove logs spam

This commit is contained in:
naudachu 2023-12-03 17:37:15 +05:00
parent 40fcb5896a
commit 9a1420eae0
1 changed files with 1 additions and 2 deletions

View File

@ -51,7 +51,7 @@ func (wc *WorkflowController) ProjectCreate(ctx context.Context, project domain.
// Set ID from the DB raw: // Set ID from the DB raw:
project.ID = string(appconfig.TicketID.Int32) 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}, Key: pgtype.Text{String: project.Key, Valid: true},
Channelid: pgtype.Text{String: project.ChannelID, Valid: true}, Channelid: pgtype.Text{String: project.ChannelID, Valid: true},
Title: pgtype.Text{String: project.Name, 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 return nil, err
} else { } else {
tx.Commit(ctx) tx.Commit(ctx)
fmt.Println(projectRow)
} }
return &project, nil return &project, nil