Просмотр исходного кода

feat: sending ai usage quota to WF during sync (#32381)

GitOrigin-RevId: 0bd5eec1f5f940e3245d9fa22f01dcf69b2b45d6
Jimmy Domagala-Tang 4 месяцев назад
Родитель
Сommit
6aadc81405
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      services/web/app/src/Features/Subscription/FeaturesUpdater.mjs

+ 1 - 0
services/web/app/src/Features/Subscription/FeaturesUpdater.mjs

@@ -117,6 +117,7 @@ async function refreshFeatures(userId, reason) {
             userOverleafId: userId,
             // todo: quota clean-up: collab with writefull to rename this, and check if still needed
             hasAiAssist: hasPremiumAiFeatures,
+            aiUsageQuota: newFeatures.aiUsageQuota,
           },
           method: 'POST',
         }