Skip to content

Commit

Permalink
lint: copy/paste typo
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Reynolds <bradley.reynolds@darbia.dev>
  • Loading branch information
shenanigansd authored Jul 14, 2023
1 parent caa8114 commit 59f9b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/letsbuilda/pypi/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def get_package_metadata(
package_version: str | None = None,
) -> Package:
"""Get metadata for a package."""
return Package.from_dict(await self.get_package_json_metadata(package_title, package_version))
return Package.from_json_api_data(await self.get_package_json_metadata(package_title, package_version))

async def fetch_bytes(
self: Self,
Expand Down

0 comments on commit 59f9b6f

Please sign in to comment.