Fixed resource path issues with gradle
This commit is contained in:
parent
b405f0b191
commit
64f2f598df
178 changed files with 52224 additions and 112 deletions
|
|
@ -57,6 +57,7 @@ import java.util.Map;
|
|||
public class AuthServlet implements HttpPage {
|
||||
public static final String ENDPOINT_URL = "api/assistant/google/auth";
|
||||
|
||||
|
||||
public AuthServlet(SmartHomeImpl smartHome) {}
|
||||
|
||||
|
||||
|
|
@ -66,7 +67,7 @@ public class AuthServlet implements HttpPage {
|
|||
HttpHeader headers,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request) throws IOException {
|
||||
Map<String, String> request) {
|
||||
|
||||
StringBuilder redirectURL = new StringBuilder();
|
||||
redirectURL.append(URLDecoder.decode(request.get("redirect_uri"), StandardCharsets.UTF_8));
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@
|
|||
|
||||
package se.hal.plugin.assistant.google.endpoint;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Map;
|
||||
|
||||
import se.hal.plugin.assistant.google.SmartHomeImpl;
|
||||
|
|
@ -65,7 +64,7 @@ public class AuthTokenServlet implements HttpPage {
|
|||
HttpHeader headers,
|
||||
Map<String, Object> session,
|
||||
Map<String, String> cookie,
|
||||
Map<String, String> request) throws IOException {
|
||||
Map<String, String> request) {
|
||||
|
||||
String grantType = request.get("grant_type");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue