Skip to content

Commit dc5fdd8

Browse files
committedDec 4, 2024
🚧 mon-pix: remove lang parameter from token
1 parent fd188a1 commit dc5fdd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎mon-pix/app/components/download-session-results.gjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default class DownloadSessionResults extends Component {
2020
this.showErrorMessage = false;
2121

2222
try {
23-
const token = decodeURIComponent(PixWindow.getLocationHash().slice(1));
23+
const token = decodeURIComponent(PixWindow.getLocationHash().slice(1, -8));
2424
await this.fileSaver.save({
2525
url: `${ENV.APP.API_HOST}/api/sessions/download-all-results`,
2626
options: {

0 commit comments

Comments
 (0)
Failed to load comments.