some debugging

This commit is contained in:
Daniel Goc
2026-03-25 10:42:25 +01:00
parent e279899e49
commit f81eb84499
17 changed files with 70 additions and 67 deletions

View File

@@ -34,7 +34,7 @@ func New() *MeiliService {
}
}
// ==================================== FOR SUPERADMIN ONLY ====================================
// ==================================== FOR TESTING ONLY ====================================
func (s *MeiliService) CreateIndex(id_lang uint) error {
indexName := "meili_products_shop" + strconv.FormatInt(constdata.SHOP_ID, 10) + "_lang" + strconv.FormatInt(int64(id_lang), 10)
@@ -130,7 +130,7 @@ func (s *MeiliService) CreateIndex(id_lang uint) error {
return err
}
// ==================================== FOR DEBUG ONLY ====================================
// ==================================== FOR TESTING ONLY ====================================
func (s *MeiliService) Test(id_lang uint) (meilisearch.SearchResponse, error) {
indexName := "meili_products_shop" + strconv.FormatInt(constdata.SHOP_ID, 10) + "_lang" + strconv.FormatInt(int64(id_lang), 10)