Skip to content

Commit efefbd1

Browse files
committed
use demo instance
1 parent 2b997c2 commit efefbd1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

examples/change_password.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import {OAuth2} from "sdkgen-client";
2-
import {Client} from "../dist/src/Client.js";
2+
import {Client} from "../dist/index.js";
33

44
async function main() {
55
// @TODO set correct client credentials
66
let client = new Client(
7-
'http://127.0.0.1/projects/fusio/public/index.php',
8-
new OAuth2('test', 'test1234', 'http://127.0.0.1/projects/fusio/public/index.php/authorization/token', '')
7+
'https://demo.fusio-project.org',
8+
new OAuth2('test', 'FRsNh1zKCXlB', 'https://demo.fusio-project.org/authorization/token', '')
99
);
1010

1111
let changePassword = {

examples/create_action.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import {OAuth2} from "sdkgen-client";
2-
import {Client} from "../dist/src/Client.js";
2+
import {Client} from "../dist/index.js";
33

44
async function main() {
55
// @TODO set correct client credentials
66
let client = new Client(
7-
'http://127.0.0.1/projects/fusio/public/index.php',
8-
new OAuth2('test', 'test1234', 'http://127.0.0.1/projects/fusio/public/index.php/authorization/token', '')
7+
'https://demo.fusio-project.org',
8+
new OAuth2('test', 'FRsNh1zKCXlB', 'https://demo.fusio-project.org/authorization/token', '')
99
);
1010

1111
let config = {

examples/get_operations.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import {OAuth2} from "sdkgen-client";
2-
import {Client} from "../dist/src/Client.js";
2+
import {Client} from "../dist/index.js";
33

44
async function main() {
55
// @TODO set correct client credentials
66
let client = new Client(
7-
'http://127.0.0.1/projects/fusio/public/index.php',
8-
new OAuth2('test', 'test1234', 'http://127.0.0.1/projects/fusio/public/index.php/authorization/token', '')
7+
'https://demo.fusio-project.org',
8+
new OAuth2('test', 'FRsNh1zKCXlB', 'https://demo.fusio-project.org/authorization/token', '')
99
);
1010

1111
let response = await client.backend().operation().getAll();

0 commit comments

Comments
 (0)