Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-kot committed Jul 23, 2023
1 parent b8157f5 commit 399239f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/components/global/PageQRCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion frontend/lib/api/base/base-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/reports/label-generator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 399239f

Please sign in to comment.