Skip to content

Commit

Permalink
fix(datastore): make di context fields private (aws-amplify#10162)
Browse files Browse the repository at this point in the history
  • Loading branch information
iartemiev authored Aug 5, 2022
1 parent 360bde2 commit 88a9ec9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/datastore/src/datastore/datastore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -715,9 +715,9 @@ function getNamespace(): SchemaNamespace {

class DataStore {
// reference to configured category instances. Used for preserving SSR context
Auth = Auth;
API = API;
Cache = Cache;
private Auth = Auth;
private API = API;
private Cache = Cache;

private amplifyConfig: Record<string, any> = {};
private authModeStrategy: AuthModeStrategy;
Expand Down

0 comments on commit 88a9ec9

Please sign in to comment.