@nuclia/sync-agent
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -111,3 +111,2 @@ "use strict"; | ||
let payload = { | ||
title: filename, | ||
slug, | ||
@@ -117,2 +116,3 @@ origin: { url: data.uri }, | ||
if (!mimeType.startsWith('text/html')) { | ||
payload.title = filename; | ||
payload.files = { | ||
@@ -119,0 +119,0 @@ file: { file: { uri: data.uri, filename: filename, extra_headers: this.listToDict(linkExtraParams === null || linkExtraParams === void 0 ? void 0 : linkExtraParams.headers) } }, |
{ | ||
"name": "@nuclia/sync-agent", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "This is a sync agent to synchronize user files from diferent sources to nuclia", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
196717