Fix saved_accounts.add bad arguments
This commit is contained in:
		| @@ -44,14 +44,16 @@ HPage { | |||||||
|                     button.loading    = false |                     button.loading    = false | ||||||
|  |  | ||||||
|                     py.callCoro( |                     py.callCoro( | ||||||
|                         "saved_accounts." + |                         rememberAccount.checked ? | ||||||
|                         (rememberAccount.checked ? "add": "delete"), |                         "saved_accounts.add": "saved_accounts.delete", | ||||||
|                         [data] |  | ||||||
|  |                         [userId] | ||||||
|                     ) |                     ) | ||||||
|  |  | ||||||
|                     pageLoader.showPage( |                     pageLoader.showPage( | ||||||
|                         "AccountSettings/AccountSettings", {userId: data} |                         "AccountSettings/AccountSettings", {userId} | ||||||
|                     ) |                     ) | ||||||
|  |  | ||||||
|                 }, type => { |                 }, type => { | ||||||
|                     if (type === "CancelledError") return |                     if (type === "CancelledError") return | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	