mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Delete issues related to deleted files
This commit is contained in:
parent
490c68a9f5
commit
800fa13071
@ -277,3 +277,8 @@ class Scanner:
|
||||
if not r.ok:
|
||||
logging.error(f"Request error: {await r.text()}")
|
||||
r.raise_for_status()
|
||||
if path in self.issues:
|
||||
await self._client.delete(
|
||||
f'{self._url}/issues?filter=domain eq scanner and cause eq "{path}"',
|
||||
headers={"X-API-Key": self._api_key},
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user