8000 Response of delete method · Issue #32 · gitrows/gitrows · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Response of delete method #32
Open
@vlrmprjct

Description

@vlrmprjct

First of all, this repository is totally underrated! 💯 ❤️

I am having trouble with the documentation and the delete method.
Is it a bug or am I missing something or is it just a typo in the documentation?

Regarding the docu, here I get no response object:

gitrows.delete(path, filter)
    .then((response)=>{
        // do someting with the response
})
 .catch((error)=>{ ... });

But this part works as expected by adding a data object like someDataObject:

gitrows.delete(path, someDataObject, filter)
    .then((response)=>{
        // do someting with the response
})
 .catch((error)=>{ ... });

Sourcefile:
https://github.com/vlrmprjct/pia/blob/582aa18728b161d828ee01690c8c4b5bf34da357/src/server/apiRouter.js#L96

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0