WIP: Comment reply

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-02-10 09:35:26 +01:00
parent 8457f2f6c2
commit 07fd562a55
4 changed files with 117 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ export class CommentApi {
}
async loadComments({ cardId, limit, offset }) {
const api = await axios.get(OC.generateUrl(`/apps/deck/api/v1.0/boards/0/stacks/0/cards/${cardId}/comments`), {
headers: {'OCS-APIRequest': 'true'}
})
return api.data
const response = await axios({
method: 'REPORT',
url: this.url(`${cardId}`),