Add bid was missing url() call to put the URL correctly

This commit is contained in:
Nabeel Shahzad
2018-03-14 10:40:57 -05:00
parent afd7aebe20
commit e5ff927f7d

View File

@@ -8,7 +8,7 @@ $(document).ready(function () {
const class_name = btn.attr('x-saved-class'); // classname to use is set on the element
let params = {
url: '/api/user/bids',
url: '{{ url('/api/user/bids') }}',
data: {
'flight_id': btn.attr('x-id')
}