Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barrierye committed Mar 13, 2024
1 parent 697de00 commit f876e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appbuilder/core/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(
self.set_secret_key_and_gateway(self.secret_key, self.gateway)

@ttl_lru_cache(seconds_to_live=1 * 60 * 60) # 1h
def appbuilder/core/component.py(self, secret_key: Optional[str] = None, gateway: str = ""):
def set_secret_key_and_gateway(self, secret_key: Optional[str] = None, gateway: str = ""):
self.secret_key = secret_key
self.gateway = gateway
self._http_client = HTTPClient(self.secret_key, self.gateway)
Expand Down

0 comments on commit f876e53

Please sign in to comment.