diff --git a/onedrive/src/main/java/ch/cyberduck/core/onedrive/GraphSession.java b/onedrive/src/main/java/ch/cyberduck/core/onedrive/GraphSession.java index 0ebf34ea59c..56fb15b3c24 100644 --- a/onedrive/src/main/java/ch/cyberduck/core/onedrive/GraphSession.java +++ b/onedrive/src/main/java/ch/cyberduck/core/onedrive/GraphSession.java @@ -69,14 +69,13 @@ public abstract class GraphSession extends HttpSession { private final static String API_VERSION = "v1.0"; - protected GraphFileIdProvider fileid; + protected GraphFileIdProvider fileid = new GraphFileIdProvider(this); private OAuth2RequestInterceptor authorizationService; private User.Metadata user; protected GraphSession(final Host host, final X509TrustManager trust, final X509KeyManager key) { super(host, trust, key); - this.fileid = new GraphFileIdProvider(this); } public abstract String getFileId(final DriveItem.Metadata metadata);