mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(dashboard): include members array on creation
This commit is contained in:
parent
ed526eddb1
commit
1bdee69c9b
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,8 @@
|
|||
|
||||
loading = true;
|
||||
try {
|
||||
let res = await api().groups().post({data});
|
||||
let res: Group = await api().groups().post({data});
|
||||
res.members = [];
|
||||
create(res);
|
||||
input = JSON.parse(JSON.stringify(defaultGroup));
|
||||
message = `Group ${data.name} successfully created!`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue