mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Small payment fixes (#9082)
* Fixed some parameter passing and computed placements * reset edit when user change * Lint fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Equivalent of jQuery's param
|
||||
|
||||
export default function (params) {
|
||||
Object.keys(params).map((k) => {
|
||||
return Object.keys(params).map((k) => {
|
||||
return `${encodeURIComponent(k)}=${encodeURIComponent(params[k])}`;
|
||||
}).join('&');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user