fix(nylas-api): namespace the custom sync engine to syncEngine

This commit is contained in:
mbilker 2016-01-21 00:16:04 -05:00
parent c6a4d8f130
commit a424fd52d1

View file

@ -152,8 +152,8 @@ class NylasAPI
@AppID = 'n/a'
@APIRoot = 'http://localhost:5555'
else if env in ['custom']
@AppID = NylasEnv.config.get('env.AppID') or 'n/a'
@APIRoot = NylasEnv.config.get('env.APIRoot') or 'http://localhost:5555'
@AppID = NylasEnv.config.get('syncEngine.AppID') or 'n/a'
@APIRoot = NylasEnv.config.get('syncEngine.APIRoot') or 'http://localhost:5555'
current = {@AppID, @APIRoot, @APITokens}