fix: make filters more specific

This commit is contained in:
2026-03-20 19:50:34 -03:00
parent 5d2c15d2b1
commit 96746626bd
+2 -2
View File
@@ -296,7 +296,7 @@ int main()
if (url.find("api/v1/extensions/store/getCatalogItems") != std::string::npos)
updateCatalog(data);
else if (url.find("api/v1/dbd-inventories/") != std::string::npos)
else if (url.find("api/v1/dbd-inventories/all") != std::string::npos)
{
std::lock_guard<std::mutex> lock(g_dataMutex);
if (!g_allObjectIds.empty())
@@ -339,7 +339,7 @@ int main()
else
Log::warning("No catalog data available to inject into global inventory yet!");
}
else if (url.find("api/v1/dbd-character-data/") != std::string::npos)
else if (url.find("api/v1/dbd-character-data/get-all") != std::string::npos)
{
std::vector<std::string> localStackable;
std::vector<std::string> localUnique;