Skip to content

Commit

Permalink
fix: store ext ref when creating domain
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Aug 17, 2024
1 parent 8f6eba9 commit 2503487
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/app-api/src/service/DomainService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,12 @@ export class DomainService extends NOT_DOMAIN_SCOPED_TakaroService<
});

const domain = await this.repo.create(
new DomainCreateInputDTO({ id, name: input.name, state: input.state ?? DOMAIN_STATES.ACTIVE }),
new DomainCreateInputDTO({
id,
name: input.name,
state: input.state ?? DOMAIN_STATES.ACTIVE,
externalReference: input.externalReference,
}),
);

const userService = new UserService(domain.id);
Expand Down

0 comments on commit 2503487

Please sign in to comment.