File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -130,20 +130,16 @@ export default class Apps {
130
130
* @see https://developers.scalingo.com/apps.html#transfer-ownership-of-an-application
131
131
* @param appID ID of the application
132
132
* @param currentName Current name of the application. Used as validation.
133
- * @param ownerEmail Email address of the new owner.
133
+ * @param ownerID Email address of the new owner.
134
134
* @return Promise that when resolved returns the App transferred.
135
135
*/
136
- transfer (
137
- appID : string ,
138
- currentName : string ,
139
- ownerEmail : string
140
- ) : Promise < App > {
136
+ transfer ( appID : string , currentName : string , ownerID : string ) : Promise < App > {
141
137
return unpackData (
142
138
this . _client . apiClient ( ) . patch (
143
139
`/apps/${ appID } ` ,
144
140
{
145
141
app : {
146
- owner : ownerEmail ,
142
+ owner : ownerID ,
147
143
} ,
148
144
} ,
149
145
{ params : { current_name : currentName } }
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ export interface Collaborator {
13
13
id : string ;
14
14
/** Email of the collaborator to invite */
15
15
email : string ;
16
+ /** Unique User ID of the user who accepted the collaboration */
17
+ user_id : string ;
18
+ /** ID of the application owning the collaborator */
19
+ app_id : string ;
16
20
/** Username of the person to invite */
17
21
username : string ;
18
22
/** Status of the invitation */
You can’t perform that action at this time.
0 commit comments