mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Object.assign is not available in PhantomJS.
This commit is contained in:
@@ -179,7 +179,7 @@ Group.reopenClass({
|
||||
|
||||
loadMembers(name, offset, limit, params) {
|
||||
return ajax('/groups/' + name + '/members.json', {
|
||||
data: Object.assign({
|
||||
data: _.extend({
|
||||
limit: limit || 50,
|
||||
offset: offset || 0
|
||||
}, params || {})
|
||||
|
||||
Reference in New Issue
Block a user