Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix version checker GitHub api url (#4773)

shamoon5a20c8e512a7
diff --git a/src/documents/views.py b/src/documents/views.py
index 386f87404..92d37adf5 100644
--- a/src/documents/views.py
+++ b/src/documents/views.py
@@ -1158,8 +1158,8 @@ class RemoteVersionView(GenericAPIView):
current_version = packaging_version.parse(version.__full_version_str__)
try:
req = urllib.request.Request(
- "https://api.github.com/repos/paperlessngx/"
- "paperlessngx/releases/latest",
+ "https://api.github.com/repos/paperless-ngx/"
+ "paperless-ngx/releases/latest",
)
# Ensure a JSON response
req.add_header("Accept", "application/json")