Skip to content
Snippets Groups Projects
Commit 68ecc7ac authored by Art Lowel's avatar Art Lowel
Browse files

rename token param to authentication-token

parent 9a4f962a
Branches
No related merge requests found
......@@ -24,7 +24,7 @@ export class FileService {
*/
downloadFile(url: string) {
this.authService.getShortlivedToken().pipe(take(1)).subscribe((token) => {
this._window.nativeWindow.location.href = hasValue(token) ? new URLCombiner(url, `?token=${token}`).toString() : url;
this._window.nativeWindow.location.href = hasValue(token) ? new URLCombiner(url, `?authentication-token=${token}`).toString() : url;
});
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment