fixed typo error and error during first installation

*cloud service is set to "" to prevent NullPointerException
This commit is contained in:
Jannik
2017-06-01 16:21:24 +02:00
parent 95cbf91a7f
commit 1ed7400a02
26 changed files with 15 additions and 14 deletions

View File

@ -77,7 +77,7 @@ public class GoogleDriveController {
*/
public Credential authorize() throws IOException {
// Load client secrets.
InputStream in = getClass().getClassLoader().getResourceAsStream("recources/client_secret.json");
InputStream in = getClass().getClassLoader().getResourceAsStream("resources/client_secret.json");
GoogleClientSecrets clientSecrets = GoogleClientSecrets.load(JSON_FACTORY, new InputStreamReader(in));
// Build flow and trigger user authorization request.