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:
Harvey Tindall
2024-08-06 20:34:28 +01:00
parent 2310130e6b
commit 790accc007
4 changed files with 8 additions and 10 deletions

View File

@@ -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