Skip to content

Commit

Permalink
provider name added to the response
Browse files Browse the repository at this point in the history
  • Loading branch information
GitVivekHub committed Oct 21, 2024
1 parent 7b94d37 commit b144a11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ export const selectItemMapper = (providerArr: any) => {
const id = providerArr[0].provider_id;

const descriptor: components["schemas"]["Descriptor"] = {
name: providerArr[0].provider,
name: providerArr[0].providerName,
short_desc: providerArr[0].description,
images: [
{
Expand Down Expand Up @@ -668,7 +668,7 @@ export const selectItemMapperNew = (input: any) => {
provider: {
id: input?.[0]?.id,
descriptor: {
name: input?.[0]?.name,
name: input?.[0]?.providerName,
short_desc: input?.[0]?.description,
images: [
{
Expand Down Expand Up @@ -981,7 +981,7 @@ export const confirmItemMapperNew = (input: any) => {
provider: {
id: input?.[0]?.id,
descriptor: {
name: input?.[0]?.name,
name: input?.[0]?.providerName,
short_desc: input?.[0]?.description,
images: [
{
Expand Down

0 comments on commit b144a11

Please sign in to comment.