Commit ab2f412 [frontend] fix custom package webhooks

1 file Authored and Committed by clime 8 days ago
[frontend] fix custom package webhooks

    
1 @@ -67,7 +67,7 @@
2   
3           package_name = kwargs.pop('package_name')
4           try:
5 -             package = ComplexLogic.get_package_safe(copr, package_name)
6 +             package = ComplexLogic.get_package_safe(copr.main_dir, package_name)
7           except ObjectNotFound:
8               return "PACKAGE_NOT_FOUND\n", 404
9