Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/src/models/project-lowdb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ interface Project {
newStackId: string;
stackDetails: [];
mapperKeys: [];
extract_path: string;
}

interface ProjectDocument {
Expand Down
2 changes: 1 addition & 1 deletion api/src/services/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const login = async (req: Request): Promise<LoginServiceType> => {
data.users.push({
...appTokenPayload,
authtoken: res?.data.user?.authtoken,
email: res?.data.user?.email,
email : res?.data.user?.email,
updated_at: new Date().toISOString(),
created_at: new Date().toISOString(),
});
Expand Down
11 changes: 7 additions & 4 deletions ui/src/components/ContentMapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,14 @@ const ContentMapper = forwardRef(({projectData}: ContentMapperComponentProps, re
if(schema?.schema) {
schema?.schema?.forEach((childSchema) => {
if(row?.contentstackField === `${schema?.display_name} > ${childSchema?.display_name}`){

updatedExstingField[row?.uid] = {
label: `${schema?.display_name} > ${childSchema?.display_name}`,
value: childSchema
if(existingField[row?.uid]){
updatedExstingField[row?.uid] = {
label: `${schema?.display_name} > ${childSchema?.display_name}`,
value: childSchema
}

}

}
})
}
Expand Down
28 changes: 11 additions & 17 deletions uplaode-api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.