cleaned some log
This commit is contained in:
		@@ -41,8 +41,10 @@ func (o *WorkflowSchedulerController) Schedule() {
 | 
			
		||||
			tools.POST: "/booking/",
 | 
			
		||||
		},
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	req := oclib.NewRequest(collection, user, peerID, groups, caller)
 | 
			
		||||
	resp.UUID = uuid.New().String()
 | 
			
		||||
 | 
			
		||||
	sch, err := req.Schedule(id, resp)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		if sch != nil {
 | 
			
		||||
@@ -64,7 +66,6 @@ func (o *WorkflowSchedulerController) Schedule() {
 | 
			
		||||
		"code":  code,
 | 
			
		||||
		"error": e,
 | 
			
		||||
	}
 | 
			
		||||
	logger.Info().Msg("Succesfully scheduled " + sch.WorkflowExecution[0].WorkflowID + " at " + sch.WorkflowExecution[0].ExecDate.GoString() + " with ID : " + sch.WorkflowExecution[0].UUID )
 | 
			
		||||
	o.ServeJSON()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user