Skip to content

Commit 2a309e7

Browse files
committed
🐛 fix cartItems type
It's declared as `[Launch]` and treated as an `[ID!]!` everywhere in the application. Change the type `[ID!]!`.
1 parent 014d900 commit 2a309e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

final/client/src/resolvers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { GET_CART_ITEMS } from './pages/cart';
44
export const typeDefs = gql`
55
extend type Query {
66
isLoggedIn: Boolean!
7-
cartItems: [Launch]!
7+
cartItems: [ID!]!
88
}
99
1010
extend type Launch {

0 commit comments

Comments
 (0)