mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-05 08:27:42 +00:00
🔥(summary) remove call to summary enabled feature flag
We now rely only on the value coming from the API request. This feature flag should be handled by the caller.
This commit is contained in:
@@ -406,11 +406,6 @@ def _should_auto_create_summary(payload: TranscribeTaskJob) -> bool:
|
||||
reason = "Auto create summary is not requested in the payload"
|
||||
elif not settings.is_summary_enabled:
|
||||
reason = "Summary feature is disabled"
|
||||
elif not analytics.is_feature_enabled(
|
||||
"summary-enabled",
|
||||
distinct_id=payload.user_sub,
|
||||
):
|
||||
reason = "Summary feature flag return false"
|
||||
else:
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user