katoikia-app/web-ui/web-react/node_modules/.cache/babel-loader/e4c54108f4084ebc51279c5434e...

1 line
1.5 KiB
JSON

{"ast":null,"code":"import _classCallCheck from \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport axios from 'axios';\nexport var CountryService = /*#__PURE__*/function () {\n function CountryService() {\n _classCallCheck(this, CountryService);\n }\n\n _createClass(CountryService, [{\n key: \"getCountries\",\n value: function getCountries() {\n return axios.get('assets/demo/data/countries.json').then(function (res) {\n return res.data.data;\n });\n }\n }]);\n\n return CountryService;\n}();","map":{"version":3,"names":["axios","CountryService","get","then","res","data"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/src/service/CountryService.js"],"sourcesContent":["import axios from 'axios'\n\nexport class CountryService {\n\n getCountries() {\n return axios.get('assets/demo/data/countries.json')\n .then(res => res.data.data);\n }\n}"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,WAAaC,cAAb;EAAA;IAAA;EAAA;;EAAA;IAAA;IAAA,OAEI,wBAAe;MACX,OAAOD,KAAK,CAACE,GAAN,CAAU,iCAAV,EACFC,IADE,CACG,UAAAC,GAAG;QAAA,OAAIA,GAAG,CAACC,IAAJ,CAASA,IAAb;MAAA,CADN,CAAP;IAEH;EALL;;EAAA;AAAA"},"metadata":{},"sourceType":"module"}