Skip to content

Commit

Permalink
1. Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
megoRU committed Jun 11, 2023
1 parent 8505187 commit 87e9be8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ https://jitpack.io/#megoRU/boticordjava
<dependency>
<groupId>com.github.megoRU</groupId>
<artifactId>boticordjava</artifactId>
<version>v5.0</version>
<version>v5.1</version>
</dependency>

```
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.boticordjava.api</groupId>
<artifactId>boticordjava</artifactId>
<version>5.0</version>
<version>5.1</version>

<properties>
<maven.compiler.source>16</maven.compiler.source>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/boticordjava/api/impl/BotiCordAPIImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
public class BotiCordAPIImpl implements BotiCordAPI {

private final HttpUrl baseUrl;
private final String searchURL = "https://api.arbuz.pro/search/";
private final String searchURL = "https://api.boticord.top/search/";
private final Gson gson;
private final String token;
private final String searchApiKey;
Expand All @@ -59,8 +59,8 @@ protected BotiCordAPIImpl(String token, boolean devMode) {
this.devMode = devMode;
baseUrl = new HttpUrl.Builder()
.scheme("https")
.host("api.arbuz.pro")
// .addPathSegment("v3")
.host("api.boticord.top")
.addPathSegment("v3")
.build();

this.gson = new GsonBuilder().registerTypeAdapter(LocalDateTime.class, new JsonDeserializer<LocalDateTime>() {
Expand Down

0 comments on commit 87e9be8

Please sign in to comment.