Skip to content

Navigation Menu

Sign in
Sign up

feat: use POST for jobs profiles searching scoring #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SaeedHK2 wants to merge 1 commit into master
base: master
Choose a base branch
Loading
from saeed/update-scoring-searching
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hrflow/job/scoring.py
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ def list(
"order_by": validate_value(order_by, ORDER_BY_VALUES, "order by"),
}

params = {**query_params, **kwargs}
response = self.client.get("jobs/scoring", params)
data = {**query_params, **kwargs}
response = self.client.post("jobs/scoring", json=data)
return validate_response(response)
4 changes: 2 additions & 2 deletions hrflow/job/searching.py
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ def list(
"order_by": validate_value(order_by, ORDER_BY_VALUES, "order by"),
}

params = {**query_params, **kwargs}
response = self.client.get("jobs/searching", params)
data = {**query_params, **kwargs}
response = self.client.post("jobs/searching", json=data)
return validate_response(response)
4 changes: 2 additions & 2 deletions hrflow/profile/scoring.py
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ def list(
"order_by": validate_value(order_by, ORDER_BY_VALUES, "order by"),
}

params = {**query_params, **kwargs}
response = self.client.get("profiles/scoring", params)
data = {**query_params, **kwargs}
response = self.client.post("profiles/scoring", json=data)
return validate_response(response)
4 changes: 2 additions & 2 deletions hrflow/profile/searching.py
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ def list(
"order_by": validate_value(order_by, ORDER_BY_VALUES, "oder by"),
}

params = {**query_params, **kwargs}
response = self.client.get("profiles/searching", params)
data = {**query_params, **kwargs}
response = self.client.post("profiles/searching", json=data)
return validate_response(response)

AltStyle によって変換されたページ (->オリジナル) /