mirror of
https://github.com/documize/community.git
synced 2025-08-02 12:05:23 +02:00
Improved secure mode viewing
Co-Authored-By: McMatts <matt@documize.com>
This commit is contained in:
parent
ab2cbd4ff7
commit
df0e3c108e
3 changed files with 5 additions and 10 deletions
|
@ -143,7 +143,6 @@ export default Service.extend({
|
|||
|
||||
// Run tenant level backup.
|
||||
backup(spec) {
|
||||
|
||||
return new EmberPromise((resolve) => {
|
||||
let url = this.get('appMeta.endpoint');
|
||||
let token = this.get('sessionService.session.content.authenticated.token');
|
||||
|
@ -177,12 +176,5 @@ export default Service.extend({
|
|||
|
||||
xhr.send(JSON.stringify(spec));
|
||||
});
|
||||
|
||||
// return this.get('ajax').raw(`global/backup`, {
|
||||
// method: 'post',
|
||||
// data: JSON.stringify(spec),
|
||||
// contentType: 'json',
|
||||
// dataType: 'text'
|
||||
// });
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue