@bagelink/sdk 0.0.646 → 0.0.652
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.cjs +0 -1
- package/dist/index.mjs +0 -1
- package/package.json +1 -1
- package/src/index.ts +0 -1
package/dist/index.cjs
CHANGED
|
@@ -531,7 +531,6 @@ class Bagel {
|
|
|
531
531
|
const formData = new FormData();
|
|
532
532
|
formData.append("file", file);
|
|
533
533
|
let url = "/static_files/upload";
|
|
534
|
-
console.log(options?.topic);
|
|
535
534
|
if (options?.topic)
|
|
536
535
|
url = `/static_files/upload?topic=${options.topic}`;
|
|
537
536
|
const { data } = await axios.post(url, formData, {
|
package/dist/index.mjs
CHANGED
|
@@ -525,7 +525,6 @@ class Bagel {
|
|
|
525
525
|
const formData = new FormData();
|
|
526
526
|
formData.append("file", file);
|
|
527
527
|
let url = "/static_files/upload";
|
|
528
|
-
console.log(options?.topic);
|
|
529
528
|
if (options?.topic)
|
|
530
529
|
url = `/static_files/upload?topic=${options.topic}`;
|
|
531
530
|
const { data } = await axios.post(url, formData, {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -320,7 +320,6 @@ export class Bagel {
|
|
|
320
320
|
const formData = new FormData()
|
|
321
321
|
formData.append('file', file)
|
|
322
322
|
let url = '/static_files/upload'
|
|
323
|
-
console.log(options?.topic)
|
|
324
323
|
if (options?.topic) url = `/static_files/upload?topic=${options.topic}`
|
|
325
324
|
// get an indication of the progress
|
|
326
325
|
const { data } = await axios.post<T>(url, formData, {
|