mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-05 17:10:30 +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 {
|
function getQRCodeUrl(): string {
|
||||||
const currentURL = window.location.href;
|
const currentURL = window.location.href;
|
||||||
|
|
||||||
return route(`/qrcode`, { 'data': encodeURIComponent(currentURL) });
|
return route(`/qrcode`, { data: encodeURIComponent(currentURL) });
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ export class BaseAPI {
|
||||||
// URL already has a query param, this will not work.
|
// URL already has a query param, this will not work.
|
||||||
authURL(url: string): string {
|
authURL(url: string): string {
|
||||||
if (this.attachmentToken) {
|
if (this.attachmentToken) {
|
||||||
return route(url, { 'access_token': this.attachmentToken });
|
return route(url, { access_token: this.attachmentToken });
|
||||||
}
|
}
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
|
@ -178,7 +178,7 @@
|
||||||
|
|
||||||
const data = `${origin}/a/${assetID}`;
|
const data = `${origin}/a/${assetID}`;
|
||||||
|
|
||||||
return route(`/qrcode`, { 'data': encodeURIComponent(data) });
|
return route(`/qrcode`, { data: encodeURIComponent(data) });
|
||||||
}
|
}
|
||||||
|
|
||||||
function getItem(n: number): LabelData {
|
function getItem(n: number): LabelData {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue