Skip to content

Commit

Permalink
refactor: rename create_project route to POST on /projects
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Aug 6, 2024
1 parent 4aa278e commit f531b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/services/createproject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const getProjectDetail = (id: string) =>
authenticated(api).get(`/projects/${id}`);

export const postCreateProject = (data: any) =>
authenticated(api).post('/projects/create_project', data, {
authenticated(api).post('/projects', data, {
headers: { 'Content-Type': 'application/json' },
});

Expand Down

0 comments on commit f531b81

Please sign in to comment.