Skip to content

Commit 63222f4

Browse files
committed
FE: update authorization method to use API_TOKEN setting
1 parent c8c70d2 commit 63222f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

front/js/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1591,7 +1591,7 @@ function restartBackend() {
15911591
method: "POST",
15921592
url: "/logs/add-to-execution-queue",
15931593
headers: {
1594-
"Authorization": "Bearer " + getApiToken(),
1594+
"Authorization": "Bearer " + getSetting("API_TOKEN"),
15951595
"Content-Type": "application/json"
15961596
},
15971597
data: JSON.stringify({ action: `${getGuid()}|cron_restart_backend` }),

0 commit comments

Comments
 (0)