Changed name to title in register_site method in site model
This commit is contained in:
parent
b47bd031f2
commit
a01827865b
|
@ -108,7 +108,7 @@ class Site
|
|||
api_key = STORE_CONFIG[:store_settings]["api_key"]
|
||||
self.generate_site_token
|
||||
store = Store.new(self.id.to_s,self.site_token,api_key)
|
||||
store.post_client(self.id.to_s,self.site_token,self.name)
|
||||
store.post_client(self.id.to_s,self.site_token,self.title)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue