diff --git a/doPatchsets.go b/doPatchsets.go index 9cd6a1f..9ad2395 100644 --- a/doPatchsets.go +++ b/doPatchsets.go @@ -111,7 +111,7 @@ func savePatchset(w http.ResponseWriter, msg []byte) error { now := time.Now() // timestamp := now.Format("2022.07.18.190545") // 50yr shout out to K&R timestamp := now.Format("2006.01.02.150405") // bummer. other date doesn't work? - filename := filepath.Join(LIBDIR, "patchset/", timestamp+".submitted.pb") + filename := filepath.Join(LIBDIR, "patchset.archive/", timestamp+".submitted.pb") regfile, err := os.OpenFile(filename, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0666) if err != nil { log.Info("filename open error:", filename, err)