fix: align server deadlines and follow consumers with preparation state
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* edilmiyordu — herkes her şeyi kullanabiliyordu. Burada gerçekten uygulanır.
|
||||
*/
|
||||
|
||||
import { getUser, documentUsage, listApiKeys, getData } from './user-store.mjs';
|
||||
import { getUser, documentUsage, listApiKeys, getData, getTrackedTenderKeys } from './user-store.mjs';
|
||||
|
||||
export const PLAN_HAKLARI = {
|
||||
ucretsiz: {
|
||||
@@ -61,7 +61,7 @@ export function kullanim(email, opts) {
|
||||
const h = haklar(email, opts);
|
||||
const belge = documentUsage(email);
|
||||
const ekip = (getData(email, 'ekip') || []).length;
|
||||
const takip = (getData(email, 'kanban') || []).filter?.((t) => t?.takipte)?.length ?? null;
|
||||
const takip = getTrackedTenderKeys(email).length;
|
||||
// Yönetici hesapları her zaman tam erişimlidir; bu, satın alınan aboneliği
|
||||
// GİZLEMEMELİ — arayüz ikisini ayrı gösterebilsin diye ikisini de döndürüyoruz.
|
||||
const u = getUser(email);
|
||||
|
||||
Reference in New Issue
Block a user