From fa771206a50b39a2061f549e336693b18d559cae Mon Sep 17 00:00:00 2001 From: Sarah Allen Date: Thu, 2 Mar 2017 12:02:59 -0600 Subject: [PATCH] Tutorials don't need to create preferences --- app/components/tutorial.cjsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/components/tutorial.cjsx b/app/components/tutorial.cjsx index 16036cdfea..596289ac42 100644 --- a/app/components/tutorial.cjsx +++ b/app/components/tutorial.cjsx @@ -109,10 +109,6 @@ module.exports = React.createClass if @props.user? projectPreferences = @props.preferences - projectPreferences ?= apiClient.type('project_preferences').create - links: - project: project.id - preferences: {} # Build this manually. Having an index (even as a strings) keys creates an array. projectPreferences.preferences ?= {} projectPreferences.preferences.tutorials_completed_at ?= {}