@@ -23,7 +23,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
2323 * @throws {AppwriteException }
2424 * @returns {Promise<ArrayBuffer> }
2525 */
26- async getBrowser ( code : Browser , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
26+ getBrowser ( code : Browser , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
2727 if ( typeof code === 'undefined' ) {
2828 throw new AppwriteException ( 'Missing required parameter: "code"' ) ;
2929 }
@@ -44,7 +44,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
4444 'content-type' : 'application/json' ,
4545 }
4646
47- return await this . client . call (
47+ return this . client . call (
4848 'get' ,
4949 uri ,
5050 apiHeaders ,
@@ -65,7 +65,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
6565 * @throws {AppwriteException }
6666 * @returns {Promise<ArrayBuffer> }
6767 */
68- async getCreditCard ( code : CreditCard , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
68+ getCreditCard ( code : CreditCard , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
6969 if ( typeof code === 'undefined' ) {
7070 throw new AppwriteException ( 'Missing required parameter: "code"' ) ;
7171 }
@@ -86,7 +86,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
8686 'content-type' : 'application/json' ,
8787 }
8888
89- return await this . client . call (
89+ return this . client . call (
9090 'get' ,
9191 uri ,
9292 apiHeaders ,
@@ -103,7 +103,7 @@ This endpoint does not follow HTTP redirects.
103103 * @throws {AppwriteException }
104104 * @returns {Promise<ArrayBuffer> }
105105 */
106- async getFavicon ( url : string ) : Promise < ArrayBuffer > {
106+ getFavicon ( url : string ) : Promise < ArrayBuffer > {
107107 if ( typeof url === 'undefined' ) {
108108 throw new AppwriteException ( 'Missing required parameter: "url"' ) ;
109109 }
@@ -118,7 +118,7 @@ This endpoint does not follow HTTP redirects.
118118 'content-type' : 'application/json' ,
119119 }
120120
121- return await this . client . call (
121+ return this . client . call (
122122 'get' ,
123123 uri ,
124124 apiHeaders ,
@@ -139,7 +139,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
139139 * @throws {AppwriteException }
140140 * @returns {Promise<ArrayBuffer> }
141141 */
142- async getFlag ( code : Flag , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
142+ getFlag ( code : Flag , width ?: number , height ?: number , quality ?: number ) : Promise < ArrayBuffer > {
143143 if ( typeof code === 'undefined' ) {
144144 throw new AppwriteException ( 'Missing required parameter: "code"' ) ;
145145 }
@@ -160,7 +160,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
160160 'content-type' : 'application/json' ,
161161 }
162162
163- return await this . client . call (
163+ return this . client . call (
164164 'get' ,
165165 uri ,
166166 apiHeaders ,
@@ -181,7 +181,7 @@ This endpoint does not follow HTTP redirects.
181181 * @throws {AppwriteException }
182182 * @returns {Promise<ArrayBuffer> }
183183 */
184- async getImage ( url : string , width ?: number , height ?: number ) : Promise < ArrayBuffer > {
184+ getImage ( url : string , width ?: number , height ?: number ) : Promise < ArrayBuffer > {
185185 if ( typeof url === 'undefined' ) {
186186 throw new AppwriteException ( 'Missing required parameter: "url"' ) ;
187187 }
@@ -202,7 +202,7 @@ This endpoint does not follow HTTP redirects.
202202 'content-type' : 'application/json' ,
203203 }
204204
205- return await this . client . call (
205+ return this . client . call (
206206 'get' ,
207207 uri ,
208208 apiHeaders ,
@@ -225,7 +225,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
225225 * @throws {AppwriteException }
226226 * @returns {Promise<ArrayBuffer> }
227227 */
228- async getInitials ( name ?: string , width ?: number , height ?: number , background ?: string ) : Promise < ArrayBuffer > {
228+ getInitials ( name ?: string , width ?: number , height ?: number , background ?: string ) : Promise < ArrayBuffer > {
229229 const apiPath = '/avatars/initials' ;
230230 const payload : Payload = { } ;
231231 if ( typeof name !== 'undefined' ) {
@@ -246,7 +246,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
246246 'content-type' : 'application/json' ,
247247 }
248248
249- return await this . client . call (
249+ return this . client . call (
250250 'get' ,
251251 uri ,
252252 apiHeaders ,
@@ -265,7 +265,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
265265 * @throws {AppwriteException }
266266 * @returns {Promise<ArrayBuffer> }
267267 */
268- async getQR ( text : string , size ?: number , margin ?: number , download ?: boolean ) : Promise < ArrayBuffer > {
268+ getQR ( text : string , size ?: number , margin ?: number , download ?: boolean ) : Promise < ArrayBuffer > {
269269 if ( typeof text === 'undefined' ) {
270270 throw new AppwriteException ( 'Missing required parameter: "text"' ) ;
271271 }
@@ -289,7 +289,7 @@ When one dimension is specified and the other is 0, the image is scaled with pre
289289 'content-type' : 'application/json' ,
290290 }
291291
292- return await this . client . call (
292+ return this . client . call (
293293 'get' ,
294294 uri ,
295295 apiHeaders ,
0 commit comments