removed function ShardUrl()

This commit is contained in:
Juan Pablo Risso
2015-11-05 14:19:20 -05:00
parent 9654c27ca8
commit d19ec0b525

View File

@@ -88,10 +88,9 @@ mappings {
path("/oauth/initialize") { action: [ GET: "init"] } path("/oauth/initialize") { action: [ GET: "init"] }
} }
def getShardUrl() { return getApiServerUrl() }
def getServerUrl() { return "https://graph.api.smartthings.com" } def getServerUrl() { return "https://graph.api.smartthings.com" }
def getCallbackUrl() { "https://graph.api.smartthings.com/oauth/callback" } def getCallbackUrl() { "https://graph.api.smartthings.com/oauth/callback" }
def getBuildRedirectUrl() { "${serverUrl}/oauth/initialize?appId=${app.id}&access_token=${atomicState.accessToken}&apiServerUrl=${shardUrl}" } def getBuildRedirectUrl() { "${serverUrl}/oauth/initialize?appId=${app.id}&access_token=${atomicState.accessToken}&apiServerUrl=${apiServerUrl}" }
def authPage() { def authPage() {
def description = null def description = null