Преглед изворни кода

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

GitOrigin-RevId: 0bd5eec1f5f940e3245d9fa22f01dcf69b2b45d6
Jimmy Domagala-Tang пре 6 месеци
родитељ
комит
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,
             userOverleafId: userId,
             // todo: quota clean-up: collab with writefull to rename this, and check if still needed
             // todo: quota clean-up: collab with writefull to rename this, and check if still needed
             hasAiAssist: hasPremiumAiFeatures,
             hasAiAssist: hasPremiumAiFeatures,
+            aiUsageQuota: newFeatures.aiUsageQuota,
           },
           },
           method: 'POST',
           method: 'POST',
         }
         }