Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SafetyQuincyF committed Jan 7, 2025

Unverified

This user has not yet uploaded their public signing key.
1 parent 9f9babc commit 83165f6
Showing 3 changed files with 12 additions and 5 deletions.
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -42,6 +42,16 @@
],
"console": "integratedTerminal"
},
{
"name": "Safety Scan-online",
"type": "debugpy",
"request": "launch",
"module": "safety",
"args": [
"scan_online"
],
"console": "integratedTerminal"
},
{
"name": "Safety Scan --use-server-matching",
"type": "debugpy",
1 change: 1 addition & 0 deletions safety/scan/main.py
Original file line number Diff line number Diff line change
@@ -345,6 +345,7 @@ def generate_report(paths, obj):
"name": relative_path,
"content": content,
})
meta["project_id"] = obj.project.id

# Prepare the payload with metadata at the top level
payload = {
6 changes: 1 addition & 5 deletions test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
Django==1.8.0
flask==0.12.2
requests==2.19.0
pillow==6.2.0
PyYAML==3.12
jinja2==2.7.2
flask==0.12.2

0 comments on commit 83165f6

Please sign in to comment.