Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
StanBarrows committed Oct 5, 2023
1 parent 2d60182 commit 28e2ffd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DocuWare.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function cookie(string $url, string $username, string $password, $remembe

EnsureValidResponse::from($response);

return Cookie::make($cookieJar, $response);
return Cookie::make($cookieJar);

}

Expand Down
2 changes: 1 addition & 1 deletion src/Responses/FileCabinets/GetFileCabinetsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static function fromResponse(Response $response): Collection|Enumerable

EnsureValidResponse::from($response);

$cabinets = $response->throw()->body('FileCabinet');
$cabinets = $response->throw()->body();

return collect($cabinets)->map(fn (array $cabinet) => FileCabinet::fromJson($cabinet));
}
Expand Down

0 comments on commit 28e2ffd

Please sign in to comment.