Skip to content

Commit 116e0c5

Browse files
committed
fix web html
1 parent c439e4f commit 116e0c5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/languages/web/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// Init SDK
2323
const { Client, Foo, Bar, General } = Appwrite;
2424
const client = new Client();
25-
const foo = new Foo(client, 'string');
25+
const foo = new Foo(client);
2626
const bar = new Bar(client);
2727
const general = new General(client);
2828

@@ -34,19 +34,19 @@
3434
});
3535

3636
// Foo
37-
response = await foo.get(123, ["string in array"]);
37+
response = await foo.get('string', 123, ["string in array"]);
3838
console.log(response.result);
3939

40-
response = await foo.post(123, ["string in array"]);
40+
response = await foo.post('string', 123, ["string in array"]);
4141
console.log(response.result);
4242

43-
response = await foo.put(123, ["string in array"]);
43+
response = await foo.put('string', 123, ["string in array"]);
4444
console.log(response.result);
4545

46-
response = await foo.patch(123, ["string in array"]);
46+
response = await foo.patch('string', 123, ["string in array"]);
4747
console.log(response.result);
4848

49-
response = await foo.delete(123, ["string in array"]);
49+
response = await foo.delete('string', 123, ["string in array"]);
5050
console.log(response.result);
5151

5252
// Bar

0 commit comments

Comments
 (0)