We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75250c0 commit afb7704Copy full SHA for afb7704
src/index.js
@@ -118,7 +118,7 @@ export const getFsInfo = (remoteName) => {
118
* @param remotePath {string} Name of the path in the remote
119
* @returns {Function}
120
*/
121
-export const getFilesList = (fs, remotePath) => {
+export const getFilesList = (fs, remotePath, options = {}) => {
122
return new Promise((resolve, reject) => {
123
if(!fs || fs === ""){
124
reject("Invalid fs specified");
@@ -131,7 +131,8 @@ export const getFilesList = (fs, remotePath) => {
131
132
axiosInstance.post(urls.getFilesList, {
133
fs,
134
- remote: remotePath
+ remote: remotePath,
135
+ opt: options
136
}).then(res => {
137
resolve(res.data);
138
}, error => {
0 commit comments