feat(config): phase 7 — drop /ims basePath, update all hardcoded paths, refresh env spec
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ export function CloseCapaButton({ capaId }: Props) {
|
||||
if (!confirm('Close this CAPA? This marks it as fully resolved.')) return
|
||||
setLoading(true)
|
||||
setError(null)
|
||||
const res = await fetch(`/ims/api/capa/${capaId}`, {
|
||||
const res = await fetch(`/api/capa/${capaId}`, {
|
||||
method: 'PATCH',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ status: 'closed' }),
|
||||
|
||||
Reference in New Issue
Block a user