Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
  • Loading branch information
tobiasKaminsky committed Sep 25, 2023
1 parent 55aebde commit c6d7176
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@ private RemoteOperationResult<String> createFolder(OwnCloudClient client) {
} else {
result = new RemoteOperationResult<>(mkCol.succeeded(), mkCol);
Header fileIdHeader = mkCol.getResponseHeader("OC-FileId");
Header cookieHeader = mkCol.getResponseHeader("Set-Cookie");

if (fileIdHeader != null && cookieHeader != null) {
if (fileIdHeader != null) {
String fileId = fileIdHeader.getValue();

result.setResultData(fileId);
Expand Down

0 comments on commit c6d7176

Please sign in to comment.