test mongo
This commit is contained in:
parent
1e49afc5ee
commit
354890ece1
|
|
@ -151,6 +151,8 @@ func (s *Service) GenerateTicketOutcome(ctx context.Context, eventID int64, mark
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Service) CreateTicket(ctx context.Context, req domain.CreateTicketReq, clientIP string) (domain.Ticket, int64, error) {
|
func (s *Service) CreateTicket(ctx context.Context, req domain.CreateTicketReq, clientIP string) (domain.Ticket, int64, error) {
|
||||||
|
|
||||||
|
s.mongoLogger.Info("Creating ticket")
|
||||||
// TODO Validate Outcomes Here and make sure they didn't expire
|
// TODO Validate Outcomes Here and make sure they didn't expire
|
||||||
// Validation for creating tickets
|
// Validation for creating tickets
|
||||||
if len(req.Outcomes) > 30 {
|
if len(req.Outcomes) > 30 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user