diff --git a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/SnapshotAPIRequest.java b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/SnapshotAPIRequest.java index 583f008cb4..8d318653c2 100644 --- a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/SnapshotAPIRequest.java +++ b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/base/SnapshotAPIRequest.java @@ -27,7 +27,7 @@ public abstract class SnapshotAPIRequest extends Request { @Override protected void onBeforeRequest( HttpRequest request - ) throws IOException { + ) { if (oauth2 != null) { request.setInterceptor(request1 -> { oauth2.intercept(request1);