|
@@ -132,7 +132,7 @@ def own(user_id, ownable_name):
|
|
|
cursor.execute('''
|
|
|
INSERT OR IGNORE INTO ownership (user_id, ownable_id)
|
|
|
SELECT ?, (SELECT rowid FROM ownables WHERE name = ?)
|
|
|
- ''', (ownable_name, user_id,))
|
|
|
+ ''', (user_id, ownable_name,))
|
|
|
|
|
|
|
|
|
def send_ownable(from_user_id, to_user_id, ownable_name, amount):
|