Use tableUrl for project update
1 file changed+1−1
index.html+1−1View file
| @@ -4105,7 +4105,7 @@ | ||
| if (!isTempId(pId)) { | ||
| try { | ||
| - const res = await apiFetch(`/api/projects/${pId}`, { | ||
| + const res = await apiFetch(tableUrl('projects', pId), { | ||
| method: 'PATCH', | ||
| body: JSON.stringify(cleanPayload(updatedData)) | ||
| }); | ||