Alexander Belanger 5 лет назад
Родитель
Сommit
61bb6e345d
1 измененных файлов с 0 добавлено и 20 удалено
  1. 0 20
      dashboard/src/components/repo-selector/ContentsList.tsx

+ 0 - 20
dashboard/src/components/repo-selector/ContentsList.tsx

@@ -86,26 +86,6 @@ export default class ContentsList extends Component<PropsType, StateType> {
 
         this.setState({ loading: false, error: true });
       });
-
-      api
-      .getProcfileContents(
-        "<token>",
-        { path: "./Procfile" },
-        {
-          project_id: currentProject.id,
-          git_repo_id: actionConfig.git_repo_id,
-          kind: "github",
-          owner: actionConfig.git_repo.split("/")[0],
-          name: actionConfig.git_repo.split("/")[1],
-          branch: branch,
-        }
-      )
-      .then((res) => {
-        console.log(res.data)      
-      })
-      .catch((err) => {
-        console.log(err);
-      });
   };
 
   renderContentList = () => {