Skip to content

Commit 5fc210f

Browse files
authored
Merge pull request #1287 from appwrite/fix-ts-error
2 parents a4fae2f + 07778b3 commit 5fc210f

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

.github/workflows/sdk-build-validation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161
# Console SDKs
6262
- sdk: cli
6363
platform: console
64+
65+
- sdk: web
66+
platform: console
6467

6568
steps:
6669
- name: Checkout repository

templates/cli/lib/client.ts.twig

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,6 @@ class Client {
3030
};
3131
}
3232

33-
/**
34-
* Set Cookie
35-
*
36-
* Your cookie
37-
*
38-
* @param {string} cookie
39-
*
40-
* @return self
41-
*/
42-
setCookie(cookie: string): this {
43-
this.addHeader('cookie', cookie);
44-
return this;
45-
}
46-
4733
{% for header in spec.global.headers %}
4834
/**
4935
* Set {{header.key | caseUcfirst}}

templates/web/src/client.ts.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ class Client {
456456

457457
const channels = new URLSearchParams();
458458
if (this.config.project) {
459-
channels.set('project', this.config.project);
459+
channels.set('project', this.config.project as string);
460460
}
461461
this.realtime.channels.forEach(channel => {
462462
channels.append('channels[]', channel);

0 commit comments

Comments
 (0)