(project_string_id)
| 6 | } |
| 7 | |
| 8 | export const getProject = async (project_string_id) => { |
| 9 | try{ |
| 10 | const response = await axios.get(`/api/project/${project_string_id}/view`) |
| 11 | return [response.data, null] |
| 12 | } |
| 13 | catch (e){ |
| 14 | return [null, e] |
| 15 | } |
| 16 | |
| 17 | } |