Skip to content

Commit

Permalink
Tutorials don't need to create preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Allen committed Mar 2, 2017
1 parent af80b8b commit fa77120
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/components/tutorial.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?= {}
Expand Down

0 comments on commit fa77120

Please sign in to comment.