v1/files/keywords post with removeall

Started by ubacher, December 12, 2020, 05:14:07 AM

Previous topic - Next topic

ubacher

I am making the following call:
  let response = await IMWS.post('v1/files/keywords', {
                    removeall,
                    idlist: IMatch.idlist.fileWindowSelection
                })


The error returned is: removeall is not defined.

Am I doing something wrong or is this a bug?

           
               

Mario

Your JavaScript code has syntax errors.
removeall: true,
would be correct. removeall is a parameter.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher