Return a record not a promise from repo.sshKey
This commit is contained in:
parent
6e987d7599
commit
0cc5065b76
|
@ -41,7 +41,8 @@ Travis.Repo = Travis.Model.extend
|
|||
@filter( (repo) -> repo.get('lastBuildId') )
|
||||
|
||||
sshKey: (->
|
||||
SshKey.find(@get('id'))
|
||||
@store.find('ssh_key', @get('id'))
|
||||
@store.recordForId('ssh_key', @get('id'))
|
||||
)
|
||||
|
||||
envVars: (->
|
||||
|
|
Loading…
Reference in New Issue
Block a user