Use POST for search history

This commit is contained in:
Brahim Hadriche committed 2024-01-26 15:52:36 -05:00
1 parent d9b8aaa222
commit e0cf59d90f
5 files changed
+6 -7

No files matched your search

@@ -104,7 +104,7 @@
}
if (page === 1) {
const newSearchHistory = await PlayletApi.putSearchHistory(searchBoxText);
const newSearchHistory = await PlayletApi.addSearchHistory(searchBoxText);
searchHistoryStore.set(newSearchHistory);
}
}