fix /v1/top/guilds not returning
This commit is contained in:
parent
79b1b574a8
commit
17bdd52253
2 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ from suou import twocolon_list, WantsContentType
|
||||||
|
|
||||||
from .colors import color_themes, theme_classes
|
from .colors import color_themes, theme_classes
|
||||||
|
|
||||||
__version__ = '0.5.0-dev37'
|
__version__ = '0.5.0-dev40'
|
||||||
|
|
||||||
APP_BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
APP_BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -510,6 +510,7 @@ class Guild(Base):
|
||||||
gg = self.simple_info()
|
gg = self.simple_info()
|
||||||
gg['subscriber_count'] = await self.subscriber_count()
|
gg['subscriber_count'] = await self.subscriber_count()
|
||||||
gg['post_count'] = await self.post_count()
|
gg['post_count'] = await self.post_count()
|
||||||
|
return gg
|
||||||
|
|
||||||
|
|
||||||
Topic = deprecated('renamed to Guild')(Guild)
|
Topic = deprecated('renamed to Guild')(Guild)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue