Skip to content

Commit 15b277d

Browse files
authored
Merge pull request #5 from huntflow/Fix_vacnacy_created
INT-180 Fix vacancy created field
2 parents a876c06 + 25e35a8 commit 15b277d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

huntflow_webhook_models/common_models/vacancy.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ class Vacancy(BaseModel):
5959
description="Vacancy conditions(HTML)",
6060
example="<p>Big salary</p>",
6161
)
62-
created: datetime = Field(
62+
created: date = Field(
6363
...,
64-
description="Date time the vacancy was created",
64+
description="Date the vacancy was created",
6565
example=datetime(1970, 1, 1, 1, 1, 1),
6666
)
6767
deadline: Optional[date] = Field(..., description="Vacancy deadline", example=date(1970, 1, 1))

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[project]
33
name = "huntflow-webhook-models"
4-
version = "0.0.4"
4+
version = "0.0.5"
55
description = "Huntflow webhooks requests data models"
66
authors = [
77
{name = "Developers huntflow", email = "[email protected]"},

0 commit comments

Comments
 (0)