Browse Source

fix(doc): Indentation on Customizing Models (#533)

Bruno Macabeus 5 years ago
parent
commit
345bcbf915
1 changed files with 10 additions and 10 deletions
  1. 10 10
      docs/content/docs/developer-guide/customizing-models.md

+ 10 - 10
docs/content/docs/developer-guide/customizing-models.md

@@ -13,19 +13,19 @@ They are specified in the VendureConfig:
 const config = {
     // ...
     dbConnectionOptions: {
-         // ...
-         synchronize: true,  
+        // ...
+        synchronize: true,  
     },
     customFields: {
         Product: [
-                { name: 'infoUrl', type: 'string' },
-                { name: 'downloadable', type: 'boolean' },
-                { name: 'shortName', type: 'localeString' },
-            ],
-            User: [
-                { name: 'socialLoginToken', type: 'string' },
-            ],
-        },
+            { name: 'infoUrl', type: 'string' },
+            { name: 'downloadable', type: 'boolean' },
+            { name: 'shortName', type: 'localeString' },
+        ],
+        User: [
+            { name: 'socialLoginToken', type: 'string' },
+        ],
+    },
 }
 ```