mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
build: Update dockerfile for new Makefile
added a "precompile" step which takes the place of the "configuration email swager..." stuff.
This commit is contained in:
@@ -499,7 +499,6 @@ func (app *appContext) DeleteUsers(gc *gin.Context) {
|
||||
func (app *appContext) ExtendExpiry(gc *gin.Context) {
|
||||
var req extendExpiryDTO
|
||||
gc.BindJSON(&req)
|
||||
app.info.Printf("Expiry extension requested for %d user(s)", len(req.Users))
|
||||
if req.Months <= 0 && req.Days <= 0 && req.Hours <= 0 && req.Minutes <= 0 && req.Timestamp <= 0 {
|
||||
respondBool(400, false, gc)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user