Skip to content

Commit

Permalink
fix: JobRequest now does an unquote() on the JobSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Jan 21, 2025
1 parent 3c43866 commit f35788e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viewer/squonk_job_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import json
import logging
import os
from urllib.parse import urljoin
from urllib.parse import unquote, urljoin

import shortuuid
from squonk2.dm_api import DmApi
Expand Down Expand Up @@ -97,7 +97,7 @@ def create_squonk_job(request):
snapshot_id = request.data['snapshot']
session_project_id = request.data['session_project']
squonk_job_name = request.data['squonk_job_name']
squonk_job_spec = request.data['squonk_job_spec']
squonk_job_spec = unquote(str(request.data['squonk_job_spec']))

logger.info('+ access_id=%s', access_id)
logger.info('+ target_id=%s', target_id)
Expand Down

0 comments on commit f35788e

Please sign in to comment.