Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Commit

Permalink
Add link to normalized file response
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbeauvais committed Aug 12, 2017
1 parent bbdf171 commit a249f2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OneDriveAdapter.php
Expand Up @@ -331,6 +331,7 @@ protected function normalizeResponse(array $response, string $path): array
'bytes' => $response['size'],
'type' => isset($response['file']) ? 'file' : 'dir',
'mimetype' => isset($response['file']) ? $response['file']['mimeType'] : null,
'link' => isset($response['webUrl']) ? $response['webUrl'] : null,
];
}
}

0 comments on commit a249f2b

Please sign in to comment.