quick bugfix for auth

This commit is contained in:
Itay Mizeretz 2018-03-11 19:03:40 +02:00
parent 0fb4feb78c
commit 08e7f8cd3a
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class PreviewPaneComponent extends AuthComponent {
}
downloadLog(asset) {
fetch('/api/log?id=' + asset.id)
this.authFetch('/api/log?id=' + asset.id)
.then(res => res.json())
.then(res => {
let timestamp = res['timestamp'];