Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
may-ben-arie committed Jan 25, 2019
2 parents 9059eee + e42046a commit 1354d6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="loader"></div>
</div>
<div id="version">
Version 2.0.1 <br>
Version 2.0.2 <br>
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="glyphicon glyphicon-chevron-right"></span>
with <span class="glyphicon glyphicon-heart"></span> by Midburn Tech</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/VolunteerTab/VolunteerRequestPreviewModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default class VolunteerRequestPreviewModal extends React.Component {
this.setState(this.state)

const request = this.state.request;
axios.delete(`/api/v1/departments/${request.departmentId}/events/${request.eventId}/request/${request.userId}`)
axios.delete(`/api/v1/departments/${request.departmentId}/request/${request.userId}`)
.then(response => {
this.state.removeEnabled = true
this.setState(this.state)
Expand All @@ -127,7 +127,7 @@ export default class VolunteerRequestPreviewModal extends React.Component {
this.state.addEnabled = false
this.setState(this.state)
const request = this.state.request;
axios.post(`/api/v1/departments/${request.departmentId}/events/${request.eventId}/volunteer`, {
axios.post(`/api/v1/departments/${request.departmentId}/volunteer`, {
permission: this.state.permission,
yearly: this.state.yearly === 'true' ? true : false,
userId: request.userId,
Expand Down

0 comments on commit 1354d6f

Please sign in to comment.