Skip to content

Commit

Permalink
🐛 fix config parse in pyd v2
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Jan 31, 2024
1 parent cbf7e8f commit 9c56950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot/adapters/github/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Adapter(BaseAdapter):
@overrides(BaseAdapter)
def __init__(self, driver: Driver, **kwargs: Any):
super().__init__(driver, **kwargs)
self.github_config = Config.parse_obj(self.config)
self.github_config = Config.parse_obj(dict(self.config))
self._setup()

@classmethod
Expand Down

0 comments on commit 9c56950

Please sign in to comment.