|
@@ -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',
|
|
|
}
|
|
}
|