Commit f1fde9e5 authored by Paul Kaplan's avatar Paul Kaplan

Ensure project ID is always a number

parent 95766fd6
......@@ -46,7 +46,7 @@ const loadProjects = () => ((dispatch, getState) => {
*/
const generateProjectListItem = (postBody, infoBody) => ({
// Fields from the POST to add the project to the studio
id: postBody.projectId,
id: parseInt(postBody.projectId, 10),
actor_id: postBody.actorId,
// Fields from followup GET for more project info
title: infoBody.title,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment