Feroze Mohideen 2 лет назад
Родитель
Сommit
befba58dbc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      dashboard/src/lib/hooks/usePorterYaml.ts

+ 1 - 1
dashboard/src/lib/hooks/usePorterYaml.ts

@@ -85,7 +85,7 @@ export const usePorterYaml = ({
         if (
           // error response will be 403 status if user does not have access to the github installation
           error.response?.status === 404 || error.response?.status === 403 ||
-          error.response.data?.error?.includes("not found")
+          error.response.data?.error?.includes("not found") || error.response.data?.error?.includes("404")
         ) {
           setPorterYamlFound(false);
           return false;