Skip to content

Commit 080b647

Browse files
committed
🐛 Fix authentication token retrieval in GraphQL service
1 parent daf05c9 commit 080b647

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/src/common/graphql_service.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class GraphQLService {
1313
final httpLink = HttpLink('https://api.github.com/graphql');
1414

1515
final authLink = AuthLink(
16-
getToken: () async => 'Bearer ${github.auth.token}',
16+
getToken: () async => 'Bearer ${github.auth.bearerToken}',
1717
);
1818

1919
final link = authLink.concat(httpLink);

0 commit comments

Comments
 (0)