From 0c6d10a5e44cf0d83c42e8707e7be89bccd78633 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 6 Mar 2024 02:42:34 -0500 Subject: [PATCH] add feature flags to session info --- .../service/plugins/users/src/endpoints/session_info_handler.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/service/plugins/users/src/endpoints/session_info_handler.rs b/crates/service/plugins/users/src/endpoints/session_info_handler.rs index 0ee0a5dc49..090e969eb5 100644 --- a/crates/service/plugins/users/src/endpoints/session_info_handler.rs +++ b/crates/service/plugins/users/src/endpoints/session_info_handler.rs @@ -47,6 +47,7 @@ pub struct SessionUserInfo { // Feature / rollout flags: pub can_access_studio: bool, + pub maybe_feature_flags: Option, // Premium plans: pub fakeyou_plan: FakeYouPlan, @@ -166,6 +167,7 @@ pub async fn session_info_handler( // Rollout / feature flags: can_access_studio: session_data.can_access_studio, + maybe_feature_flags: session_data.maybe_feature_flags, // Premium plans: fakeyou_plan: FakeYouPlan::Free,