Persist client document read failures with stale-state protection
This commit is contained in:
@@ -106,3 +106,6 @@ export const bildirimOkundu = (idler) => iste('/api/me/bildirimler', { method: '
|
||||
export const getTenderStates = () => iste('/api/me/tender-state').then(d => d.records || {});
|
||||
export const saveTenderState = (key, patch, snapshot, version) =>
|
||||
iste('/api/me/tender-state', {method:'PUT',body:JSON.stringify({key,patch,snapshot,version})}).then(d => d.record);
|
||||
|
||||
export const reportDocumentReadError = (id, expectedProcessing) =>
|
||||
iste('/api/me/documents/read-error', { method:'POST', body:JSON.stringify({id,expectedProcessing:expectedProcessing ?? null}) });
|
||||
|
||||
Reference in New Issue
Block a user