Skip to content

Commit

Permalink
Ensure HTTP method case uniformity
Browse files Browse the repository at this point in the history
Box's validate_v1_path http method name should be lowercase.
  • Loading branch information
NyanHelsing committed Jun 5, 2018
1 parent f2edb4d commit e012a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waterbutler/providers/box/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def validate_v1_path(self, path: str, **kwargs) -> WaterButlerPath:
raise exceptions.NotFoundError(str(path))

response = await self.make_request(
'get',
'GET',
self.build_url(files_or_folders, obj_id, fields='id,name,path_collection'),
expects=(200, 404,),
throws=exceptions.MetadataError,
Expand Down

0 comments on commit e012a51

Please sign in to comment.