mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 16:38:14 +00:00
add feature flags to session info
This commit is contained in:
1 parent
979c12e5f8
commit
0c6d10a5e4
1 file changed
+2
@@ -47,6 +47,7 @@ pub struct SessionUserInfo {
|
||||
|
||||
// Feature / rollout flags:
|
||||
pub can_access_studio: bool,
|
||||
pub maybe_feature_flags: Option<String>,
|
||||
|
||||
// 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,
|
||||
|
||||
Reference in new issue
Block a user