Skip to content

Commit 7be387c

Browse files
authored
Merge pull request datreeio#23 from datreeio/update-reporting-routes
fix: fixed routes
2 parents e87a9d1 + 6d12171 commit 7be387c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/insight.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ const makeRequest = async function({ uri, data, token }) {
3131
}
3232

3333
const notifyUnInstall = async function(data, token) {
34-
const uri = `${BASE_URL}/uninstall`
34+
const uri = `${BASE_URL}/cli/uninstall`
3535
try {
3636
await makeRequest({ uri, data, token })
3737
} catch (err) {
3838
logger.error(err)
3939
}
4040
}
4141
const notifyInstall = async function(data, token) {
42-
const uri = `${BASE_URL}/install`
42+
const uri = `${BASE_URL}/cli/install`
4343
try {
4444
await makeRequest({ uri, data, token })
4545
} catch (err) {

0 commit comments

Comments
 (0)