mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-04-28 14:26:22 +01:00
removed function ShardUrl()
This commit is contained in:
@@ -88,10 +88,9 @@ mappings {
|
||||
path("/oauth/initialize") { action: [ GET: "init"] }
|
||||
}
|
||||
|
||||
def getShardUrl() { return getApiServerUrl() }
|
||||
def getServerUrl() { return "https://graph.api.smartthings.com" }
|
||||
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 description = null
|
||||
|
||||
Reference in New Issue
Block a user