fix reading updater token for web updater

the previously called endpoint returns exactly one value, no JSON
structure

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/34558/head
Arthur Schiwon 2 years ago
parent d936694cdb
commit 52c1dbfb00
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23

@ -406,7 +406,7 @@ export default {
const hiddenField = document.createElement('input')
hiddenField.setAttribute('type', 'hidden')
hiddenField.setAttribute('name', 'updater-secret-input')
hiddenField.setAttribute('value', data.token)
hiddenField.setAttribute('value', data)
form.appendChild(hiddenField)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save