Skip to content

Commit

Permalink
Additional fix to usage of storagePrefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Waitak committed Jan 6, 2020
1 parent b2a84d0 commit c1132ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql/lib/src/cache/in_memory_html.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class InMemoryCache implements Cache {
InMemoryCache({
this.storagePrefix = '',
}) {
masterKey = storagePrefix ?? '' + '_graphql_cache';
masterKey = storagePrefix.toString() ?? '' + '_graphql_cache';
}

final FutureOr<String> storagePrefix;
Expand Down

0 comments on commit c1132ae

Please sign in to comment.