mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix version checker GitHub api url (#4773)
This commit is contained in:
parent
4ca1503beb
commit
5a20c8e512
@ -1158,8 +1158,8 @@ class RemoteVersionView(GenericAPIView):
|
|||||||
current_version = packaging_version.parse(version.__full_version_str__)
|
current_version = packaging_version.parse(version.__full_version_str__)
|
||||||
try:
|
try:
|
||||||
req = urllib.request.Request(
|
req = urllib.request.Request(
|
||||||
"https://api.github.com/repos/paperlessngx/"
|
"https://api.github.com/repos/paperless-ngx/"
|
||||||
"paperlessngx/releases/latest",
|
"paperless-ngx/releases/latest",
|
||||||
)
|
)
|
||||||
# Ensure a JSON response
|
# Ensure a JSON response
|
||||||
req.add_header("Accept", "application/json")
|
req.add_header("Accept", "application/json")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user