فهرست منبع

Add await to update git action config api call

jnfrati 3 سال پیش
والد
کامیت
bfea2b6f56
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dashboard/src/main/home/cluster-dashboard/expanded-chart/build-settings/BuildSettingsTab.tsx

+ 1 - 1
dashboard/src/main/home/cluster-dashboard/expanded-chart/build-settings/BuildSettingsTab.tsx

@@ -75,7 +75,7 @@ const BuildSettingsTab: React.FC<Props> = ({
     };
 
     try {
-      api.updateGitActionConfig(
+      await api.updateGitActionConfig(
         "<token>",
         {
           git_action_config: newGitActionConfig,