From 4c7c11ba4aff10e8610a90a37f829eaca7673bf6 Mon Sep 17 00:00:00 2001 From: Jono Yang Date: Fri, 26 May 2023 10:11:16 -0700 Subject: [PATCH] Remove extra slash from projects API url Signed-off-by: Jono Yang --- minecode/management/scanning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecode/management/scanning.py b/minecode/management/scanning.py index 672bb5e5..87555cab 100644 --- a/minecode/management/scanning.py +++ b/minecode/management/scanning.py @@ -31,7 +31,7 @@ # Only SCANCODEIO_URL can be provided through setting SCANCODEIO_URL = settings.SCANCODEIO_URL SCANCODEIO_API_URL = f'{SCANCODEIO_URL.rstrip("/")}/api/' if SCANCODEIO_URL else None -SCANCODEIO_API_URL_PROJECTS = f'{SCANCODEIO_API_URL}/projects/' if SCANCODEIO_API_URL else None +SCANCODEIO_API_URL_PROJECTS = f'{SCANCODEIO_API_URL}projects/' if SCANCODEIO_API_URL else None # Authentication with single API key SCANCODEIO_API_KEY = settings.SCANCODEIO_API_KEY