Fix adding ssh keys and env vars
This commit is contained in:
parent
6db80a4073
commit
ada9e9ba02
|
@ -6,4 +6,7 @@ Serializer = ApplicationSerializer.extend
|
||||||
repo: { key: 'repository_id' }
|
repo: { key: 'repository_id' }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
serialize: (snapshot, options) ->
|
||||||
|
return { env_var: this._super(snapshot, options) }
|
||||||
|
|
||||||
`export default Serializer`
|
`export default Serializer`
|
||||||
|
|
7
app/serializers/ssh_key.js
Normal file
7
app/serializers/ssh_key.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import ApplicationSerializer from 'travis/serializers/application';
|
||||||
|
|
||||||
|
export default ApplicationSerializer.extend({
|
||||||
|
serialize(snapshot, options) {
|
||||||
|
return { ssh_key: this._super(...arguments) };
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user