Skip to content

Commit e9e66b2

Browse files
authored
Merge pull request #107 from Kpoke/fix/legacy_api_url
fix/legacy api url
2 parents 5be7147 + 5689c5d commit e9e66b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/services/LegacyAPIService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const axios = require('axios').default;
22

33
const TREETRACKER_LEGACY_API_URL =
4-
`${process.env.TREETRACKER_LEGACY_API_URL}` ||
4+
process.env.TREETRACKER_LEGACY_API_URL ||
55
'http://treetracker-admin-api.admin-api/';
66

77
const organizationRoute = (id) => (id ? `organization/${id}/` : ``);

0 commit comments

Comments
 (0)