Skip to content
Snippets Groups Projects
Commit 8f2c8e40 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

test

parent 669cf237
No related branches found
No related tags found
2 merge requests!19Feat/us858 save expiration date,!17fix/US846-onDelete
......@@ -24,11 +24,13 @@ async function getAccount(accountId) {
async function getAccountForDelete(accountId, accountRev) {
log('info', `getAccountForDelete: ${accountId} ${accountRev}`)
// const accounts = await cozyClient.data.findAll('io.cozy.accounts')
const body = await cozyClient.fetchJSON(
'GET',
`/data/io.cozy.accounts/${accountId}?rev=${accountRev}`
const body = await cozyClient.data.findAll(
`io.cozy.accounts/${accountId}?rev=${accountRev}`
)
// const body = await cozyClient.fetchJSON(
// 'GET',
// `/data/io.cozy.accounts/${accountId}?rev=${accountRev}`
// )
log('info', `getAccountForDelete: ${body}`)
return body
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment