Skip to content

Commit 369a93c

Browse files
committed
Fix up naming of transcript artifacts
1 parent 80fb971 commit 369a93c

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed
Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,29 @@
11
{
2-
"body": "Cannot remove the only owner of an org.",
2+
"body": {
3+
"members": [
4+
{
5+
"roles": "org_maintainer",
6+
"subject": {
7+
"avatarUrl": null,
8+
"handle": "test",
9+
"name": null,
10+
"userId": "U-<UUID>"
11+
}
12+
},
13+
{
14+
"roles": "org_owner",
15+
"subject": {
16+
"avatarUrl": "https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?f=y&d=retro",
17+
"handle": "transcripts",
18+
"name": "The Transcript User",
19+
"userId": "U-<UUID>"
20+
}
21+
}
22+
]
23+
},
324
"status": [
425
{
5-
"status_code": 400
26+
"status_code": 200
627
}
728
]
829
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"body": "Cannot remove the only owner of an org.",
3+
"status": [
4+
{
5+
"status_code": 400
6+
}
7+
]
8+
}

transcripts/share-apis/orgs/run.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ fetch "$transcripts_user" DELETE org-remove-members '/orgs/acme/members' '{
100100
}'
101101

102102
# Cannot remove the only owner
103-
fetch "$transcripts_user" DELETE org-remove-members '/orgs/acme/members' '{
103+
fetch "$transcripts_user" DELETE org-remove-only-owner '/orgs/acme/members' '{
104104
"members": [
105105
"transcripts"
106106
]

0 commit comments

Comments
 (0)