core-outline 1.1.13 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +621 -174
- package/dist/index.js +621 -174
- package/package.json +1 -1
- package/src/components/CoreOutline/CoreOutline.js +2 -1
package/package.json
CHANGED
|
@@ -247,12 +247,13 @@ const CoreOutline = ({ children, data_source_id, data_source_secret }) => {
|
|
|
247
247
|
},
|
|
248
248
|
body: JSON.stringify(events),
|
|
249
249
|
};
|
|
250
|
-
fetch(`http://localhost:5000/generate-s3-url/${data_source_id}/${sessionId}`)
|
|
250
|
+
const res = fetch(`http://localhost:5000/generate-s3-url/${data_source_id}/${sessionId}`)
|
|
251
251
|
.then((response) => response.json())
|
|
252
252
|
.then((data) => {
|
|
253
253
|
const uploadURL = data.signed_url;
|
|
254
254
|
return fetch(uploadURL, requestOptions);
|
|
255
255
|
});
|
|
256
|
+
console.log("Events saved successfully:", res);
|
|
256
257
|
}
|
|
257
258
|
|
|
258
259
|
function saveEventsLocally(type = "formatted" || "raw") {
|