Skip to content

Commit

Permalink
fix(suggestion): ajoute le champs metier dans les suggestions diagori…
Browse files Browse the repository at this point in the history
…ente
  • Loading branch information
Tensa-K committed Jun 22, 2023
1 parent 4b53027 commit 69971f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/domain/offre/recherche/suggestion/suggestion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ export namespace Suggestion {
type: type,
source: Suggestion.Source.DIAGORIENTE,
informations: {
titre: suggestionDiagoriente.tag.title
titre: suggestionDiagoriente.tag.title,
metier: suggestionDiagoriente.tag.title
},
criteres: undefined
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ describe('RafraichirSuggestionPoleEmploiCommandHandler', () => {
source: Suggestion.Source.DIAGORIENTE,
type: Recherche.Type.OFFRES_EMPLOI,
informations: {
metier: suggestionDiagoriente.tag.title,
titre: suggestionDiagoriente.tag.title
}
})
Expand All @@ -106,6 +107,7 @@ describe('RafraichirSuggestionPoleEmploiCommandHandler', () => {
source: Suggestion.Source.DIAGORIENTE,
type: Recherche.Type.OFFRES_IMMERSION,
informations: {
metier: suggestionDiagoriente.tag.title,
titre: suggestionDiagoriente.tag.title
}
})
Expand Down

0 comments on commit 69971f2

Please sign in to comment.