diff --git a/src/app/services/organization.service.ts b/src/app/services/organization.service.ts index c4055c01b7a529caf81f5da7387ea8422cbd205b..234379783b06433e37e3bd337fa5dad443684c92 100644 --- a/src/app/services/organization.service.ts +++ b/src/app/services/organization.service.ts @@ -61,6 +61,7 @@ export class OrganizationService { } )); } + delete data.id; data.links.forEach((link) => { delete link.id; }); diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 4752652f5ee5ccf9b5aa76342cd2e808e6b130f0..ad234623026cbff20d4b5a05ae315c25d9cd1b12 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -6,7 +6,7 @@ export const environment = { production: false, organizations: { - url: 'http://localhost:3001/organizations/', + url: 'http://localhost:3000/organizations/', }, resources: { url: 'http://localhost:3003/resources/',