mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 00:36:41 +08:00
fixbug
This commit is contained in:
@@ -52,7 +52,7 @@ function setDashboardConfig() {
|
|||||||
const data = JSON.stringify(config.value)
|
const data = JSON.stringify(config.value)
|
||||||
api.post('/user/config/Dashboard', data, {
|
api.post('/user/config/Dashboard', data, {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "text/plain"
|
"Content-Type": "application/json"
|
||||||
}
|
}
|
||||||
}).then((response: any) => {
|
}).then((response: any) => {
|
||||||
if (response && response.success) {
|
if (response && response.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user