mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-03 08:10:28 +00:00
autofix
This commit is contained in:
parent
b8157f5eb1
commit
399239f54a
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
function getQRCodeUrl(): string {
|
||||
const currentURL = window.location.href;
|
||||
|
||||
return route(`/qrcode`, { 'data': encodeURIComponent(currentURL) });
|
||||
return route(`/qrcode`, { data: encodeURIComponent(currentURL) });
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ export class BaseAPI {
|
|||
// URL already has a query param, this will not work.
|
||||
authURL(url: string): string {
|
||||
if (this.attachmentToken) {
|
||||
return route(url, { 'access_token': this.attachmentToken });
|
||||
return route(url, { access_token: this.attachmentToken });
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
|
|
@ -178,7 +178,7 @@
|
|||
|
||||
const data = `${origin}/a/${assetID}`;
|
||||
|
||||
return route(`/qrcode`, { 'data': encodeURIComponent(data) });
|
||||
return route(`/qrcode`, { data: encodeURIComponent(data) });
|
||||
}
|
||||
|
||||
function getItem(n: number): LabelData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue