mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-26 20:06:37 +08:00
fix: available models could not be populated
This commit is contained in:
parent
35ca91fc5e
commit
c6ba325a1d
@ -209,7 +209,7 @@ const EditChannel = (props) => {
|
||||
},
|
||||
});
|
||||
if (res.data && res.data?.success) {
|
||||
models.push(...es.data.data.map((model) => model.id));
|
||||
models.push(...res.data.data.map((model) => model.id));
|
||||
} else {
|
||||
err = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user