fix(admin-web): jobs page uses PUT instead of PATCH — matches backend API

This commit is contained in:
saravanakumardb1 2026-03-21 20:44:00 -07:00
parent daf1f90706
commit e5ffdad8e8

View File

@ -87,7 +87,7 @@ export default function JobsPage() {
async function handleToggle(job: Job) {
await jobsFetch(`${job.id}`, {
method: 'PATCH',
method: 'PUT',
body: JSON.stringify({ enabled: !job.enabled }),
});
loadData();