mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 07:35:02 +00:00
GuildInfoSaver: also update owner id
This commit is contained in:
parent
7fbe3aafef
commit
0634fd542c
3 changed files with 6 additions and 3 deletions
|
@ -39,7 +39,7 @@ export class AllowedGuilds extends BaseRepository {
|
|||
.getMany();
|
||||
}
|
||||
|
||||
updateInfo(id, name, icon) {
|
||||
return this.allowedGuilds.update({ id }, { name, icon });
|
||||
updateInfo(id, name, icon, ownerId) {
|
||||
return this.allowedGuilds.update({ id }, { name, icon, owner_id: ownerId });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue