diff --git a/components/resourcing/DemandTable.js b/components/resourcing/DemandTable.js index 66d813c0..c72ed900 100644 --- a/components/resourcing/DemandTable.js +++ b/components/resourcing/DemandTable.js @@ -81,7 +81,7 @@ function Resources({ role, resources }) { const handleDelete = async (event) => { console.debug('Resource:handleDelete: ', event) try { - const response = await fetch(`/api/resourcing/placeholder?code=${event.Code}&id=${event.role_id}`, { + const response = await fetch(`/api/resourcing/placeholder?code=${event.Code}&role_id=${event.role_id}`, { method: 'DELETE', headers: { 'Content-Type': 'application/json',