Skip to content

Commit db13318

Browse files
committed
Fix bad merge issue
1 parent 29bfad7 commit db13318

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/backend-data/src/factory.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
ConstructFactory,
88
ConstructFactoryGetInstanceProps,
99
GenerateContainerEntryProps,
10+
ReferenceAuthResources,
1011
ResourceProvider,
1112
} from '@aws-amplify/plugin-types';
1213
import {
@@ -102,9 +103,9 @@ export class DataFactory implements ConstructFactory<AmplifyData> {
102103
this.props,
103104
buildConstructFactoryProvidedAuthConfig(
104105
props.constructContainer
105-
.getConstructFactory<ResourceProvider<AuthResources>>(
106-
'AuthResources'
107-
)
106+
.getConstructFactory<
107+
ResourceProvider<AuthResources | ReferenceAuthResources>
108+
>('AuthResources')
108109
?.getInstance(props)
109110
),
110111
props,

0 commit comments

Comments
 (0)