Skip to content

Commit 9cba82c

Browse files
authored
🐛 Fix authentication token retrieval in GraphQL service (#26)
2 parents daf05c9 + 080b647 commit 9cba82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)