Skip to content

Commit cc27ae2

Browse files
committed
Changed: using const instead of let in collectionTransformers
1 parent 8a93249 commit cc27ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collections/infra/repositories/transformers/collectionTransformers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const transformPayloadToCollection = (collectionPayload: CollectionPayload): Col
3232
const transformInputLevelsPayloadToInputLevels = (
3333
inputLevelsPayload: CollectionInputLevelPayload[]
3434
): CollectionInputLevel[] => {
35-
let collectionInputLevels: CollectionInputLevel[] = []
35+
const collectionInputLevels: CollectionInputLevel[] = []
3636
inputLevelsPayload.forEach((element) => {
3737
collectionInputLevels.push({
3838
datasetFieldName: element.datasetFieldTypeName,

0 commit comments

Comments
 (0)