mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Fix version checker GitHub api url (#4773)
This commit is contained in:
parent
4ca1503beb
commit
5a20c8e512
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue