Merge pull request #32 from fLotte-meets-HWR-DB/bug

src/datasource/db/providerAPI.ts
main
leonnicolas 4 years ago committed by GitHub
commit 9119710bf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -127,7 +127,7 @@ export class ProviderAPI extends DataSource {
.execute();
await entityManager.getRepository(Provider)
.createQueryBuilder('provider')
.relation(Provider, 'cargoBikes')
.relation(Provider, 'cargoBikeIds')
.of(inserts.identifiers[0].id)
.add(provider.cargoBikeIds);
});

@ -737,7 +737,7 @@ export default gql`
"(dt. Anbieter)"
input ProviderCreateInput {
formName: String!
formName: String
privatePersonId: ID
organisationId: ID
cargoBikeIds: [ID!]

Loading…
Cancel
Save