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(); .execute();
await entityManager.getRepository(Provider) await entityManager.getRepository(Provider)
.createQueryBuilder('provider') .createQueryBuilder('provider')
.relation(Provider, 'cargoBikes') .relation(Provider, 'cargoBikeIds')
.of(inserts.identifiers[0].id) .of(inserts.identifiers[0].id)
.add(provider.cargoBikeIds); .add(provider.cargoBikeIds);
}); });

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

Loading…
Cancel
Save