Optimized PostgreSQL initialization process for smoother deployment setup

This commit is contained in:
2024-05-11 14:50:14 +07:00
parent d166628345
commit 69c1f13f17
5 changed files with 55 additions and 30 deletions

View File

@ -3,7 +3,6 @@ package initialisation
import (
"encoding/json"
"errors"
"fmt"
"github.com/fossyy/filekeeper/cache"
"io"
"net/http"
@ -58,7 +57,7 @@ func POST(w http.ResponseWriter, r *http.Request) {
respondJSON(w, map[string]bool{"Done": true})
return
}
fmt.Println("nih2 : ", fileData)
respondJSON(w, fileData)
}