Merge branch 'gitlab-announcements-fix' into 'master'

Only show open announcements

See merge request allianceauth/allianceauth!1291
This commit is contained in:
Ariel Rin 2021-01-26 12:55:11 +00:00
commit 164a0d5376

View File

@ -27,7 +27,7 @@ GITLAB_AUTH_REPOSITORY_TAGS_URL = (
)
GITLAB_AUTH_ANNOUNCEMENT_ISSUES_URL = (
'https://gitlab.com/api/v4/projects/allianceauth%2Fallianceauth/issues'
'?labels=announcement'
'?labels=announcement&state=opened'
)
logger = logging.getLogger(__name__)