kopia lustrzana https://github.com/lartsch/FediAct
move failed to one statement
rodzic
7125cd13af
commit
ba59570af1
|
@ -224,13 +224,10 @@ async function executeAction(id, action) {
|
|||
response = JSON.parse(response)
|
||||
if (condition(response)) {
|
||||
return true
|
||||
} else {
|
||||
log(action + " action failed.")
|
||||
}
|
||||
} else {
|
||||
log("API call failed.")
|
||||
}
|
||||
}
|
||||
log(action + " action failed.")
|
||||
} else {
|
||||
log("Auto-action is disabled.")
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue