File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const URL = require('url').URL;
33const https = require("https");
44const axios = require('axios');
55const FormData = require('form-data');
6- const {{ spec .title | caseUcfirst }}Exception = require('./exception.js');
6+ const { {{ spec .title | caseUcfirst }}Exception } = require('./exception.js');
77
88class Client {
99 static CHUNK_SIZE = 5*1024*1024; // 5MB
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ class {{spec.title | caseUcfirst}}Exception extends Error {
77 }
88}
99
10- module.exports = {{spec .title | caseUcfirst }}Exception;
11-
1210const ErrorType = {
1311{% for error in spec .definitions .appwriteException .errorTypes %}
1412 /**
Original file line number Diff line number Diff line change 11const Service = require('../service.js');
2- const {{ spec .title | caseUcfirst }}Exception = require('../exception.js');
2+ const { {{ spec .title | caseUcfirst }}Exception } = require('../exception.js');
33const InputFile = require('../inputFile.js');
44const client = require('../client.js');
55const Stream = require('stream');
You can’t perform that action at this time.
0 commit comments