Use tableUrl for project update

Ryan Danenberg committed commitc6f7fd84b1e96b244fb702b0e9ce3f741f835a74 Browse files
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))
});