constructor added
This commit is contained in:
Vendored
+9
-1
@@ -2,6 +2,9 @@ import React from "react";
|
||||
import Axios from "axios";
|
||||
|
||||
class SiteService {
|
||||
constructor() {
|
||||
console.log("Er are here anyway");
|
||||
}
|
||||
blogData() {
|
||||
return this.getAuxEnd("blogdata", null);
|
||||
}
|
||||
@@ -9,7 +12,12 @@ class SiteService {
|
||||
countryData() {}
|
||||
|
||||
faqData() {}
|
||||
|
||||
|
||||
//---------------------------------------- -----
|
||||
//---------------------------------------- -----
|
||||
// Unified call below
|
||||
//---------------------------------------- -----
|
||||
//---------------------------------------- -----
|
||||
getAuxEnd(uri, reqData) {
|
||||
const endPoint = process.env.REACT_APP_AUX_ENDPOINT + uri;
|
||||
Axios.get(endPoint)
|
||||
|
||||
Reference in New Issue
Block a user