Skip to content

Commit a7e0a24

Browse files
committed
Appwrite 1.5 support
1 parent 1cc15e2 commit a7e0a24

File tree

11 files changed

+771
-514
lines changed

11 files changed

+771
-514
lines changed

src/services/account.ts

Lines changed: 129 additions & 86 deletions
Large diffs are not rendered by default.

src/services/avatars.ts

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,11 @@ export class Avatars extends Service {
6969
'get',
7070
apiPath,
7171
{
72-
'content-type': 'application/json',
72+
'content-type': 'application/json',
7373
},
7474
payload,
75-
'arraybuffer' );
75+
'arraybuffer'
76+
);
7677
}
7778
/**
7879
* Get credit card icon
@@ -118,10 +119,11 @@ export class Avatars extends Service {
118119
'get',
119120
apiPath,
120121
{
121-
'content-type': 'application/json',
122+
'content-type': 'application/json',
122123
},
123124
payload,
124-
'arraybuffer' );
125+
'arraybuffer'
126+
);
125127
}
126128
/**
127129
* Get favicon
@@ -150,10 +152,11 @@ export class Avatars extends Service {
150152
'get',
151153
apiPath,
152154
{
153-
'content-type': 'application/json',
155+
'content-type': 'application/json',
154156
},
155157
payload,
156-
'arraybuffer' );
158+
'arraybuffer'
159+
);
157160
}
158161
/**
159162
* Get country flag
@@ -200,10 +203,11 @@ export class Avatars extends Service {
200203
'get',
201204
apiPath,
202205
{
203-
'content-type': 'application/json',
206+
'content-type': 'application/json',
204207
},
205208
payload,
206-
'arraybuffer' );
209+
'arraybuffer'
210+
);
207211
}
208212
/**
209213
* Get image from URL
@@ -249,10 +253,11 @@ export class Avatars extends Service {
249253
'get',
250254
apiPath,
251255
{
252-
'content-type': 'application/json',
256+
'content-type': 'application/json',
253257
},
254258
payload,
255-
'arraybuffer' );
259+
'arraybuffer'
260+
);
256261
}
257262
/**
258263
* Get user initials
@@ -305,10 +310,11 @@ export class Avatars extends Service {
305310
'get',
306311
apiPath,
307312
{
308-
'content-type': 'application/json',
313+
'content-type': 'application/json',
309314
},
310315
payload,
311-
'arraybuffer' );
316+
'arraybuffer'
317+
);
312318
}
313319
/**
314320
* Get QR code
@@ -352,9 +358,10 @@ export class Avatars extends Service {
352358
'get',
353359
apiPath,
354360
{
355-
'content-type': 'application/json',
361+
'content-type': 'application/json',
356362
},
357363
payload,
358-
'arraybuffer' );
364+
'arraybuffer'
365+
);
359366
}
360367
}

0 commit comments

Comments
 (0)