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 and kvramyasri7 committed Aug 10, 2022
1 parent a693695 commit 86a86a2
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 86a86a2

Please sign in to comment.