| return $http( | |
| method: 'POST' | |
| url: $('.shift-assignments').data 'save-user' | |
| data: $httpParamSerializerJQLike(userInfo) | |
| headers: { | |
| 'csrftoken': csrf, | |
| 'X-CSRF-TOKEN': csrf, | |
| 'Content-Type': 'application/x-www-form-urlencoded' | |
| } | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment