Explorar o código

Update example for auth.json in BitBucket config

Remove the `config` level
Nathan Purcell %!s(int64=6) %!d(string=hai) anos
pai
achega
dcdef95785
Modificáronse 1 ficheiros con 4 adicións e 6 borrados
  1. 4 6
      doc/05-repositories.md

+ 4 - 6
doc/05-repositories.md

@@ -305,12 +305,10 @@ After creating an OAuth consumer in the BitBucket control panel, you need to set
 the credentials like this (more info [here](https://getcomposer.org/doc/06-config.md#bitbucket-oauth)):
 ```json
 {
-    "config": {
-        "bitbucket-oauth": {
-            "bitbucket.org": {
-                "consumer-key": "myKey",
-                "consumer-secret": "mySecret"
-            }
+    "bitbucket-oauth": {
+        "bitbucket.org": {
+            "consumer-key": "myKey",
+            "consumer-secret": "mySecret"
         }
     }
 }