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

View File

@@ -19,7 +19,7 @@ func InsertDataMaster(c *gin.Context) {
"code": 400,
})
}
db := database.New(master).GetDB()
db := database.New(master).GetMongoDB()
mongoDB := mongo.NewDatabaseService(db)
ReqInsertData.ID = uuid.New().String()
errInsert := mongoDB.InsertDataMaster(ReqInsertData)