Skip to content

Commit

Permalink
cast vikunja label and project ID to int
Browse files Browse the repository at this point in the history
  • Loading branch information
jabelone committed Aug 11, 2024
1 parent 939e3e3 commit 7df3c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions memberportal/api_member_tools/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def post(self, request):
if config.REPORT_ISSUE_ENABLE_VIKUNJA and bool(
config.VIKUNJA_DEFAULT_PROJECT_ID
):
vikunja_project_id = config.VIKUNJA_DEFAULT_PROJECT_ID
vikunja_label_id = config.VIKUNJA_DEFAULT_LABEL_ID
vikunja_project_id = int(config.VIKUNJA_DEFAULT_PROJECT_ID)
vikunja_label_id = int(config.VIKUNJA_DEFAULT_LABEL_ID)

try:
task_body = {
Expand Down

0 comments on commit 7df3c67

Please sign in to comment.