|
@@ -220,7 +220,7 @@ const EditChannel = (props) => {
|
|
|
'Authorization': `Bearer ${key}`
|
|
'Authorization': `Bearer ${key}`
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
- if (res.data && res.data?.success) {
|
|
|
|
|
|
|
+ if (res.data) {
|
|
|
models.push(...res.data.data.map((model) => model.id));
|
|
models.push(...res.data.data.map((model) => model.id));
|
|
|
} else {
|
|
} else {
|
|
|
err = true;
|
|
err = true;
|