Skip to content

Commit

Permalink
Error cast json ConfigCat
Browse files Browse the repository at this point in the history
  • Loading branch information
mouredev committed Feb 23, 2024
1 parent d94fb8c commit bccba02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion link_bio/link_bio/api/ConfigCatAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ def __init__(self) -> None:

def schedule(self) -> dict:
response = self.configcat.get_value("live_schedule", "")
return json.loads(response)
return json.loads(str(response))
1 change: 0 additions & 1 deletion link_bio/link_bio/state/PageState.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from enum import Flag
import reflex as rx
import link_bio.utils as utils
from link_bio.api.api import live, featured, schedule
Expand Down

0 comments on commit bccba02

Please sign in to comment.