From 9f57bcf7abe1c728f560314916b40f823a7ee623 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Wed, 26 Apr 2023 08:48:55 +0200 Subject: [PATCH] chore: fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3a64a68..e243609 100644 --- a/README.md +++ b/README.md @@ -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