lib/dato/account/repo/site.rb in dato-0.1.20 vs lib/dato/account/repo/site.rb in dato-0.1.21

- old
+ new

@@ -14,19 +14,19 @@ end def create(resource_attributes) body = JsonApiSerializer.new( type: :site, - attributes: %i(domain name notes template) + attributes: %i(domain internal_subdomain name notes template) ).serialize(resource_attributes) post_request '/sites', body end def update(site_id, resource_attributes) body = JsonApiSerializer.new( type: :site, - attributes: %i(domain name notes) + attributes: %i(domain internal_subdomain name notes) ).serialize(resource_attributes, site_id) put_request "/sites/#{site_id}", body end