Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 08b1f74

Browse files
authored
fix queue_file_changes logic on corpus accounts (#425)
1 parent 6aa7d5f commit 08b1f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api-service/__app__/queue_file_changes/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def file_added(event: Dict) -> None:
2525
def main(msg: func.QueueMessage, dashboard: func.Out[str]) -> None:
2626
event = json.loads(msg.get_body())
2727

28-
if event["topic"] in corpus_accounts():
28+
if event["topic"] not in corpus_accounts():
2929
return
3030

3131
if event["eventType"] != "Microsoft.Storage.BlobCreated":

0 commit comments

Comments
 (0)