Commit 11cd81ca authored by janis.streib's avatar janis.streib 🦉
Browse files

FIX: middleware: macfinder: missing parameter

parent 412562fb
......@@ -61,7 +61,7 @@ def create_job():
pipe = r.pipeline()
pipe.set(job_id, MacFinderJob(job_id=job_id, vlan=vlan, bcd=vlan.bcd))
pipe.set(job_id, MacFinderJob(mac=request.json['nmac'], job_id=job_id, vlan=vlan, bcd=vlan.bcd))
pipe.expire(job_id, 60 * 60 * 12)
return jsonify({'success': True, 'job_ids': created_jobs})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment