write POST must include db in the path

pull/1537/head
Jade McGough 2017-05-17 00:52:05 -07:00
parent 52c2b3d4f1
commit abbf70fcca
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import AJAX from 'src/utils/ajax'
export const writePoints = (source, db) => {
return AJAX({
url: source.links.write,
url: `${source.links.write$}?db=${db}`,
method: 'POST',
data: {},
})