met le type de l'équipe à "O", permet les liens d'invitation
This commit is contained in:
+1
-1
@@ -675,7 +675,7 @@ EOF
|
|||||||
resp=\$(curl -s -X POST "https://${URL_AGORA}/api/v4/teams" \
|
resp=\$(curl -s -X POST "https://${URL_AGORA}/api/v4/teams" \
|
||||||
-H "Authorization: Bearer ${mattermost_token}" \
|
-H "Authorization: Bearer ${mattermost_token}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{ "name":"${EQUIPE_AGORA}", "display_name":"${EQUIPE_AGORA}", "type":"I"}')
|
-d '{ "name":"${EQUIPE_AGORA}", "display_name":"${EQUIPE_AGORA}", "type":"O"}')
|
||||||
|
|
||||||
TEAM_ID=\$(echo "\$resp" | jq -r '.id')
|
TEAM_ID=\$(echo "\$resp" | jq -r '.id')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user