30-11-23
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user