Skip to content

Commit

Permalink
Fix code sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Nov 8, 2023
1 parent c36671a commit 69ff8c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions instructions/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ or

#### Maven
```xml
<dependency>
<groupId>io.squidex</groupId>
<artifactId>squidex</artifactId>
<version>1.0.0</version>
</dependency>
&lt;dependency&gt;
&lt;groupId&gt;io.squidex&lt;/groupId&gt;
&lt;artifactId&gt;squidex&lt;/artifactId&gt;
&lt;version&gt;1.0.0&lt;/version&gt;
&lt;/dependency&gt;
```

### Instantiate the SDK

The `SquidexClient` is the main entry point for the SDK. It provides the properties for all endpoints. You can instantiate the client using the following code snippet:

```java
SquidexClient squidex = SquidexClient.builder()
SquidexClient client = SquidexClient.builder()
.appName("<APP_NAME>")
.clientId("<CLIENT_ID>")
.clientSecret("<CLIENT_SECRET>")
Expand Down
2 changes: 1 addition & 1 deletion instructions/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The `SquidexClient` is the main entry point for the SDK. It provides the propert
```ts
import { SquidexClient } from "@squidex/squidex";

const sdk = new SquidexClient({
const client = new SquidexClient({
appName: "<APP_NAME>",
clientId: "<CLIENT_ID>",
clientSecret: "<CLIENT_SECRET>",
Expand Down

0 comments on commit 69ff8c6

Please sign in to comment.