fix: reject stale company profile and filter updates
This commit is contained in:
@@ -18,8 +18,11 @@ export const listTenderDocuments = (ikn) =>
|
||||
|
||||
// --- Kullanıcı verisi ---
|
||||
export const getAllUserData = () => iste('/api/me/data').then((d) => requireObject(d,'veri'));
|
||||
export const setUserData = (anahtar, deger) =>
|
||||
iste('/api/me/data', { method: 'PUT', body: JSON.stringify({ anahtar, deger }) });
|
||||
export const getUserDataSnapshot = () => iste('/api/me/data').then(data=>{
|
||||
requireObject(data,'veri');requireObject(data,'revisions');return data;
|
||||
});
|
||||
export const setUserData = (anahtar, deger, revision=undefined) =>
|
||||
iste('/api/me/data', { method: 'PUT', body: JSON.stringify({ anahtar, deger, revision }) });
|
||||
|
||||
// --- API anahtarları ---
|
||||
export const listApiKeys = () => apiKeyRequest();
|
||||
|
||||
Reference in New Issue
Block a user