Use patch in place of put in the indexer API call, ensure that files are not being required in the indexer path

This commit is contained in:
sabaimran
2024-07-29 22:42:43 +05:30
committed by Debanjum Singh Solanky
parent ffbf57292c
commit 4a7efdc552
3 changed files with 6 additions and 5 deletions

View File

@@ -544,7 +544,7 @@ export default function SettingsView() {
const syncContent = async (type: string) => {
try {
const response = await fetch(`/api/content?t=${type}`, {
method: 'PUT',
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},