Skip to content

Commit

Permalink
Merge pull request #5 from ieeemysight4rehab/dev
Browse files Browse the repository at this point in the history
Fixed Travis CI pipeline build error
  • Loading branch information
jerrychong25 authored Apr 20, 2020
2 parents 4db3759 + 1663704 commit 42df6ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/events/pastEvents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@

<script>
import ChapterDetails from '@/assets/data/chapterDetails.json'
import { MeetupAPI } from '@/config/key'
export default {
data() {
return {
Expand All @@ -117,7 +116,7 @@ export default {
}
},
created(){
fetch('https://cors-anywhere.herokuapp.com/https://api.meetup.com/'+MeetupAPI.urlname+'/events?desc=true&photo-host=public&page=8&status=past&sign=true').then(data=>data.json()).then(res=>{
fetch('https://cors-anywhere.herokuapp.com/https://api.meetup.com/'+'/events?desc=true&photo-host=public&page=8&status=past&sign=true').then(data=>data.json()).then(res=>{
if(res.length>0){
this.showLoader = false
this.showData = true
Expand Down
2 changes: 0 additions & 2 deletions src/components/home/eventshowcase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@

<script>
import ChapterDetails from "@/assets/data/chapterDetails.json";
import { MeetupAPI } from "@/config/key";
export default {
data() {
return {
Expand All @@ -117,7 +116,6 @@ export default {
created() {
fetch(
"https://cors-anywhere.herokuapp.com/https://api.meetup.com/" +
MeetupAPI.urlname +
"/events?desc=true&photo-host=public&sign=true&page=4&status=past"
)
.then(data => data.json())
Expand Down

0 comments on commit 42df6ca

Please sign in to comment.