Skip to content

Commit

Permalink
Update to upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
diocas committed Jul 8, 2022
1 parent e1f7ca3 commit f2e09b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ifc-js/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default {
ifcLoader.ifcManager.setWasmPath(
'../../../../../../../../../../../../../../../../cernbox/ifc-js-1.0.1/'
)
const headers = getHeadersWithAuth(isPublic, this.getToken, this.publicLinkPassword)
const headers = getHeadersWithAuth(isPublic, this.accessToken, this.publicLinkPassword)
ifcLoader.setRequestHeader(headers)
const filePath = `/${this.$route.params.filePath
.split('/')
Expand Down
2 changes: 1 addition & 1 deletion jupyter/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { mapActions, mapGetters } from 'vuex'
export default {
name: 'Jupyter Viewer',
computed: {
...mapGetters('Files', ['publicLinkPassword']),
...mapGetters('runtime/auth', ['publicLinkPassword']),
...mapGetters('Jupyter Viewer', ['isLoading', 'renderedNotebook', 'lastError'])
},
mounted() {
Expand Down
2 changes: 1 addition & 1 deletion rootjs/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
}),
computed: {
rootFile() {
const headers = getHeadersWithAuth(this.isPublic, this.getToken, this.publicLinkPassword)
const headers = getHeadersWithAuth(this.isPublic, this.accessToken, this.publicLinkPassword)
return fetch(this.url, { headers }).then((resp) => {
if (resp.ok) {
return resp.arrayBuffer()
Expand Down

0 comments on commit f2e09b6

Please sign in to comment.