add city to address

pull/35/head
leonnicolas 4 years ago
parent e748d66965
commit adab4ea272
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -137,6 +137,8 @@ export async function getApp (connOptions: ConnectionOptions) {
await cargoBikeAPI.populateCopyConfig();
} catch (err) {
console.error(err);
// exit so docker can restart the container and reattempt
process.exit(1);
}
const server = new ApolloServer({

@ -23,6 +23,10 @@ import { getApp, getConnectionOptions, userAPI } from './app';
app.listen(4000, async () => {
await userAPI.createDefinedPermissions().catch(
err => console.log(err));
err => {
console.log(err);
// exit so docker can restart the container and reattempt
process.exit(1);
});
});
})();

@ -983,18 +983,21 @@ export default gql`
street: String!
number: String!
zip: String!
city: String
}
input AddressCreateInput {
street: String!
number: String!
zip: String!
city: String
}
input AddressUpdateInput {
street: String
number: String
zip: String
city: String
}
type ActionLog {

Loading…
Cancel
Save