Skip to content

Commit

Permalink
Removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
ARADDCC012 committed Jan 22, 2025
1 parent 6611824 commit 4604c82
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions backend/src/routes/v2/model/postRequestImport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ import { z } from 'zod'

import { AuditInfo } from '../../../connectors/audit/Base.js'
import audit from '../../../connectors/audit/index.js'
import {
//FileImportInformation,
ImportKind,
importModel,
//MongoDocumentImportInformation,
} from '../../../services/mirroredModel.js'
import { ImportKind, importModel } from '../../../services/mirroredModel.js'
import { registerPath } from '../../../services/specification.js'
import { parse } from '../../../utils/validate.js'

Expand Down Expand Up @@ -49,7 +44,6 @@ registerPath({
interface PostRequestImportResponse {
mirroredModelId: string
sourceModelId: string
//importedContent: Omit<MongoDocumentImportInformation, 'newModelCards'> | FileImportInformation
}

export const postRequestImportFromS3 = [
Expand All @@ -72,8 +66,6 @@ export const postRequestImportFromS3 = [
return res.json({
mirroredModelId: mirroredModel.id,
sourceModelId,
//...(importResult?.modelCardVersions && { importResult.modelCardVersions }),
//...(importResult?.fileIds && { importResult.fileIds }),
})
},
]

0 comments on commit 4604c82

Please sign in to comment.