Skip to content

Commit

Permalink
fix and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Oct 19, 2023
1 parent f05c481 commit 6fc034c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ class Config(BaseConfig):


class JobPricingSpecification(BaseModel):
pricing_plan: PositiveInt
pricing_unit: PositiveInt
pricing_plan: PositiveInt = Field(..., alias="x-pricing-plan")
pricing_unit: PositiveInt = Field(..., alias="x-pricing-unit")

class Config:
extra = Extra.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ async def put_project_node_pricing_plan_and_unit(
) -> None:
with _handle_webserver_api_errors():
response = await self.client.put(
f"/projects/{project_id}/nodes/{node_id}/pricing-plans/{pricing_plan}/pricing-units/{pricing_unit}",
f"/projects/{project_id}/nodes/{node_id}/pricing-plan/{pricing_plan}/pricing-unit/{pricing_unit}",
cookies=self.session_cookies,
)
response.raise_for_status()
Expand Down

0 comments on commit 6fc034c

Please sign in to comment.