penambahan template selanjutnya

This commit is contained in:
2025-07-25 11:00:19 +07:00
parent 6c23369c06
commit 3af7a7ecbb
12 changed files with 63 additions and 73 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import (
func GetDataLog(c *gin.Context) {
locals := os.Getenv("BLUEPRINT_DB_LOCAL")
db := database.New(locals).GetDB()
db := database.New(locals).GetMongoDB()
if db == nil {
c.JSON(http.StatusInternalServerError, gin.H{"message": "Database connection failed"})
return