method: "GET" 17 url: "/members?list_id=#{list.list.id_str} &owner_id=#{this.currentUserId}" 18 headers: 19 "X-CSRF-Token": $('meta[name="csrf-token"]').attr('content') 20 ).then( (response) -> 21 list.members = response.data 22 ).catch( (err) -> 23 alert("error") 24 ).finally( -> 25 list.completed = true 26 )