mirror of https://gitlab.com/litecord/litecord.git
storage: fix app ref
This commit is contained in:
parent
973df47503
commit
a3e58abc2c
|
|
@ -155,7 +155,7 @@ class Storage:
|
|||
|
||||
async def vanity_invite(self, guild_id: int) -> Optional[str]:
|
||||
"""Get the vanity invite for a guild."""
|
||||
return await app.db.fetchval("""
|
||||
return await self.db.fetchval("""
|
||||
SELECT code FROM vanity_invites
|
||||
WHERE guild_id = $1
|
||||
""", guild_id)
|
||||
|
|
|
|||
Loading…
Reference in New Issue