You can fetch tag suggestions using diaspy
[diaspy.git] / diaspy / models.py
index bcf7daeb6b461bb5ad2469a69d438798ee28e86e..75db85d5faf6d441973766c33cbe79a28dba8887 100644 (file)
@@ -135,7 +135,7 @@ class Aspect():
         :param user_id: user to remove from aspect
         :type user: int
         """
-        data = {'authenticity_token': self._connection.get_token(),
+        data = {'authenticity_token': repr(self._connection),
                 'aspect_id': self.id,
                 'person_id': user_id}
         request = self.connection.delete('aspect_memberships/{0}.json'.format(self.id), data=data)