Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
simenandre committed Apr 26, 2023
1 parent e71b0a7 commit 9f57bcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ scalar Timestamp
In your resolver map, first import them:

```javascript
import { TimestampResolver } from 'firestore-graphql-scalars';
import { timestampResolver } from 'firestore-graphql-scalars';
```

Then make sure they're in the root resolver map like this:

```javascript
const myResolverMap = {
Timestamp: TimestampResolver,
Timestamp: timestampResolver,

Query: {
// more stuff here
Expand Down

0 comments on commit 9f57bcf

Please sign in to comment.