From c3484426ab3e7a85eb1b5c2134c7928465533ce1 Mon Sep 17 00:00:00 2001 From: zhaojun1998 Date: Tue, 28 Jan 2020 10:18:36 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=20OneDrive=20?= =?UTF-8?q?=E6=95=99=E8=82=B2=E7=89=88=E5=92=8C=E9=83=A8=E5=88=86=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E7=89=88=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=96=87=E4=BB=B6=E7=9A=84=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/im/zhaojun/onedrive/service/OneDriveService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/im/zhaojun/onedrive/service/OneDriveService.java b/src/main/java/im/zhaojun/onedrive/service/OneDriveService.java index 07f2870..6d816dd 100644 --- a/src/main/java/im/zhaojun/onedrive/service/OneDriveService.java +++ b/src/main/java/im/zhaojun/onedrive/service/OneDriveService.java @@ -29,11 +29,11 @@ import java.util.List; @Service public class OneDriveService { - private static final String DRIVER_INFO_URL = "https://graph.microsoft.com/v1.0/drive"; + private static final String DRIVER_INFO_URL = "https://graph.microsoft.com/v1.0/me/drives"; - private static final String DRIVER_ROOT_URL = "https://graph.microsoft.com/v1.0/drive/root/children"; + private static final String DRIVER_ROOT_URL = "https://graph.microsoft.com/v1.0/me/drive/root/children"; - private static final String DRIVER_ITEMS_URL = "https://graph.microsoft.com/v1.0/drive/root:{path}:/children"; + private static final String DRIVER_ITEMS_URL = "https://graph.microsoft.com/v1.0/me/drive/root:{path}:/children"; private static final String AUTHENTICATE_URL = "https://login.microsoftonline.com/common/oauth2/v2.0/token";