add comment
This commit is contained in:
+3
-1
@@ -664,7 +664,9 @@ EOF
|
||||
http_code=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer ${mattermost_token}" "https://${URL_AGORA}/api/v4/teams/name/${EQUIPE_AGORA}")
|
||||
|
||||
if [ "$http_code" -eq 200 ]; then
|
||||
echo "équipe trouvée"
|
||||
cat >> "${CMD_LOGIN}" <<EOF
|
||||
#équipe trouvée
|
||||
EOF
|
||||
else
|
||||
# non, on la créé en mettant le user en admin de l'équipe
|
||||
cat >> "${CMD_LOGIN}" <<EOF
|
||||
|
||||
Reference in New Issue
Block a user