Welcome to mirror list, hosted at ThFree Co, Russian Federation.

actions.js « clientside « modules « stores « ide « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eb3bcdff2ae275a3ea7fe8953614f1dda9e316d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import axios from '~/lib/utils/axios_utils';

export const pingUsage = ({ rootGetters }) => {
  const { web_url: projectUrl } = rootGetters.currentProject;

  const url = `${projectUrl}/usage_ping/web_ide_clientside_preview`;

  return axios.post(url);
};

// prevent babel-plugin-rewire from generating an invalid default during karma tests
export default () => {};