Skip to content

Commit 7b07a7d

Browse files
authored
pass org_id as string to unleash (#740)
1 parent f059db7 commit 7b07a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ros/lib/unleash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
def is_feature_flag_enabled(org_id, flag_name, service_name):
22-
context = {"userId": org_id}
22+
context = {"userId": str(org_id)}
2323
is_enabled = unleash_client.is_enabled(flag_name, context)
2424

2525
logger.debug(

0 commit comments

Comments
 (0)