Skip to content

Commit 2761cf3

Browse files
committed
[Chore] #206 - 팀 컨벤션 맞춰 변수명 수정
1 parent 0c5db09 commit 2761cf3

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

Neki-iOS/Features/Archive/Sources/Data/Sources/DTO/UpdateMappingPhotoDTO.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ import Foundation
1010
public enum UpdateMappingPhotoDTO {
1111
public struct MovePhotos: Encodable {
1212
let sourceFolderID: Int
13-
let photoIDS, targetFolderIDS: [Int]
13+
let photoIDs, targetFolderIDs: [Int]
1414

1515
enum CodingKeys: String, CodingKey {
1616
case sourceFolderID = "sourceFolderId"
17-
case photoIDS = "photoIds"
18-
case targetFolderIDS = "targetFolderIds"
17+
case photoIDs = "photoIds"
18+
case targetFolderIDs = "targetFolderIds"
1919
}
2020
}
2121

2222
public struct DuplicatePhotos: Encodable {
23-
let photoIDS, targetFolderIDS: [Int]
23+
let photoIDs, targetFolderIDs: [Int]
2424

2525
enum CodingKeys: String, CodingKey {
26-
case photoIDS = "photoIds"
27-
case targetFolderIDS = "targetFolderIds"
26+
case photoIDs = "photoIds"
27+
case targetFolderIDs = "targetFolderIds"
2828
}
2929
}
3030
}

Neki-iOS/Features/Archive/Sources/Data/Sources/DefaultArchiveRepository.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ extension DefaultArchiveRepository {
309309

310310
func duplicatePhoto(photoIDs: [Int], targetFolderIDs: [Int]) async throws {
311311
let request = UpdateMappingPhotoDTO.DuplicatePhotos(
312-
photoIDS: photoIDs,
313-
targetFolderIDS: targetFolderIDs
312+
photoIDs: photoIDs,
313+
targetFolderIDs: targetFolderIDs
314314
)
315315
let endpoint = ArchiveEndpoint.duplicatePhoto(request: request)
316316
let _ = try await networkProvider.request(endpoint: endpoint)
@@ -327,8 +327,8 @@ extension DefaultArchiveRepository {
327327
func movePhoto(sourceFolderId: Int, photoIDs: [Int], targetFolderIDs: [Int]) async throws {
328328
let request = UpdateMappingPhotoDTO.MovePhotos(
329329
sourceFolderID: sourceFolderId,
330-
photoIDS: photoIDs,
331-
targetFolderIDS: targetFolderIDs
330+
photoIDs: photoIDs,
331+
targetFolderIDs: targetFolderIDs
332332
)
333333
let endpoint = ArchiveEndpoint.movePhoto(request: request)
334334
let _ = try await networkProvider.request(endpoint: endpoint)

0 commit comments

Comments
 (0)