mirror of https://gitlab.com/litecord/litecord.git
Add discovery_splash to sql definitions for image uploading
This commit is contained in:
parent
d786edffec
commit
45b4431c4c
|
|
@ -181,6 +181,7 @@ def _gen_update_sql(scope: str) -> str:
|
|||
"user": "avatar",
|
||||
"guild": "icon",
|
||||
"splash": "splash",
|
||||
"discovery_splash": "discovery_splash",
|
||||
"banner": "banner",
|
||||
"channel-icons": "icon",
|
||||
}[scope]
|
||||
|
|
@ -189,6 +190,7 @@ def _gen_update_sql(scope: str) -> str:
|
|||
"user": "users",
|
||||
"guild": "guilds",
|
||||
"splash": "guilds",
|
||||
"discovery_splash": "guilds",
|
||||
"banner": "guilds",
|
||||
"channel-icons": "group_dm_channels",
|
||||
}[scope]
|
||||
|
|
|
|||
Loading…
Reference in New Issue