src/datasource/db/providerAPI.ts

pull/32/head
leonnicolas 4 years ago
parent ec497634ca
commit 6aae32e0c8
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -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