Skip to content

Commit cefe3e2

Browse files
authored
Merge pull request #4012 from gus25888/patch-1
Update part8a.md
2 parents bf6eed6 + 234f890 commit cefe3e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/8/es/part8a.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Implementemos un servidor GraphQL con la biblioteca líder en la actualidad [Apo
247247
Cree un nuevo proyecto npm con _npm init_ e instale las dependencias necesarias.
248248

249249
```bash
250-
npm install apollo-server graphql
250+
npm install @apollo/server graphql
251251
```
252252

253253
También cree un archivo `index.js` en el directorio raíz de su proyecto.
@@ -281,7 +281,7 @@ let persons = [
281281
},
282282
]
283283

284-
const typeDefs = gql`
284+
const typeDefs = `#graphql
285285
type Person {
286286
name: String!
287287
phone: String

0 commit comments

Comments
 (0)