Skip to content

Commit

Permalink
chore: remove useless actes field
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed Jun 27, 2024
1 parent 21274ce commit 874b41d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/clients/inpi/api-rne-documents/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ const mapToDomainObject = (response: IDocumentsRNEResponse): IDocuments => {
return {
id: a.id || '',
dateDepot: a.dateDepot || '',
actes: (a?.typeRdd || []).map((t) => t.typeActe),
detailsDocuments:
a?.typeRdd && a?.typeRdd.length > 0
? a?.typeRdd.map((t) => {
Expand Down
1 change: 0 additions & 1 deletion src/models/rne.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { fetchImmatriculationFromAPIRNE } from '../clients/inpi/api-rne';
interface IActe {
id: string;
dateDepot: string;
actes?: string[];
detailsDocuments: {
nom: string;
label: string;
Expand Down

0 comments on commit 874b41d

Please sign in to comment.