update
							parent
							
								
									1bb46c638d
								
							
						
					
					
						commit
						7d39b81824
					
				|  | @ -62,7 +62,7 @@ func ApiEventNew(c *gin.Context) { | ||||||
| 	if e.ID != "" { | 	if e.ID != "" { | ||||||
| 		panic(errors.ErrorBadRequest) | 		panic(errors.ErrorBadRequest) | ||||||
| 	} | 	} | ||||||
| 	if e.Start.IsZero() || e.End.IsZero() || e.Start.Before(e.End) { | 	if e.Start.IsZero() || e.End.IsZero() || e.End.Before(e.Start) { | ||||||
| 		panic(ErrorInvalidTime) | 		panic(ErrorInvalidTime) | ||||||
| 	} | 	} | ||||||
| 	cal := 0 | 	cal := 0 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue