Skip to content

Commit

Permalink
Fix DeepL auth
Browse files Browse the repository at this point in the history
  • Loading branch information
lululombard committed Jan 18, 2023
1 parent 06c4db8 commit ae28e73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.redcraft.redcraftchat</groupId>
<artifactId>RedCraftChat</artifactId>
<version>0.0.11-SNAPSHOT</version>
<version>0.0.12-SNAPSHOT</version>

<repositories>
<repository>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public String translate(String text, String sourceLanguageId, String targetLangu
HttpRequest request = HttpRequest.newBuilder(url.build())
.header("accept", "application/json")
.header("content-type", "application/json")
.header("Autorization", "DeepL-Auth-Key " + Config.deeplToken)
.GET()
.build();

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: RedCraftChat
main: org.redcraft.redcraftchat.RedCraftChat
version: 0.0.11-SNAPSHOT
version: 0.0.12-SNAPSHOT
author: RedCraft
authors: [lululombard]
api-version: 1.19
Expand Down

0 comments on commit ae28e73

Please sign in to comment.