fix(metadata): publicid => publicId

This commit is contained in:
Ben Gotow 2015-09-02 14:36:33 -07:00
parent 786440531f
commit a348e02052

View file

@ -26,8 +26,8 @@ class Metadata extends Model
Object.defineProperty @prototype, "id", Object.defineProperty @prototype, "id",
enumerable: false enumerable: false
get: -> get: ->
if @type and @publicid and @key if @type and @publicId and @key
return "#{@type}/#{@publicid}/#{@key}" return "#{@type}/#{@publicId}/#{@key}"
else else
return @serverId ? @clientId return @serverId ? @clientId
set: -> set: ->