Skip to content
Snippets Groups Projects
Commit 43910796 authored by ncastejon's avatar ncastejon
Browse files

Fix: remove the id null when create a new organization

parent 1f581359
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -61,6 +61,7 @@ export class OrganizationService { ...@@ -61,6 +61,7 @@ export class OrganizationService {
} }
)); ));
} }
delete data.id;
data.links.forEach((link) => { data.links.forEach((link) => {
delete link.id; delete link.id;
}); });
......
...@@ -6,7 +6,7 @@ export const environment = { ...@@ -6,7 +6,7 @@ export const environment = {
production: false, production: false,
organizations: { organizations: {
url: 'http://localhost:3001/organizations/', url: 'http://localhost:3000/organizations/',
}, },
resources: { resources: {
url: 'http://localhost:3003/resources/', url: 'http://localhost:3003/resources/',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment