Permalink
Browse files

shoud be a string

  • Loading branch information...
1 parent 70f3f5d commit 1ea494d26322748a7ed0692856fd03ad84df66d0 @fredericosilva fredericosilva committed Jan 18, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/services/ContentDirectory.coffee
View
4 lib/services/ContentDirectory.coffee
@@ -137,8 +137,8 @@ class ContentDirectory extends Service
# Increment each time container (or parent container) is modified.
@redis.incr "#{if object.type is 'container' then id else parentID}:updateid"
# Add ID's to item data structure and insert into data store.
- object.id = id
- object.parentid = parentID
+ object.id = "#{id}"
+ object.parentid = "#{parentID}"
@redis.hmset "#{id}", object
cb err, id

0 comments on commit 1ea494d

Please sign in to comment.