This commit is contained in:
Jonathan Jenne
2023-11-30 14:00:30 +01:00
parent 1b88a6cff7
commit c2de72be74
25 changed files with 875 additions and 148 deletions

View File

@@ -32,8 +32,8 @@
})
}
postHistory(envelopeKey) {
const url = `/api/history/${envelopeKey}`
openDocument(envelopeKey) {
const url = `/api/document/${envelopeKey}`
const options = {
credentials: 'include',
@@ -44,7 +44,7 @@
body: JSON.stringify({}),
}
console.debug('PostHistory/Calling url: ' + url)
console.debug('OpenDocument/Calling url: ' + url)
return fetch(url, this.withCSRFToken(options))
.then(this.handleResponse)
.then((res) => {