Skip to content

Commit 2d72105

Browse files
committed
Post-merge fix
1 parent 535390e commit 2d72105

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Modules/Sources/APIClient/APIClient.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ extension APIClient: DependencyKey {
218218
birthday: request.birthdayDate
219219
)
220220
)
221-
let response = try await api.get(command)
221+
let response = try await api.send(command)
222222
let status = Int(response.getResponseStatus())!
223223
return status == 0
224224
},
@@ -246,7 +246,7 @@ extension APIClient: DependencyKey {
246246
},
247247
updateUserAvatar: { userId, image in
248248
let command = MemberCommand.avatar(memberId: userId, avatar: image)
249-
let response = try await api.get(command)
249+
let response = try await api.send(command)
250250
return try await parser.parseAvatarUrl(response: response)
251251
},
252252
updateUserDevice: { userId, action, fullTag, isPrimary in
@@ -261,7 +261,7 @@ extension APIClient: DependencyKey {
261261
fullTag: fullTag,
262262
primary: isPrimary
263263
))
264-
let response = try await api.get(command)
264+
let response = try await api.send(command)
265265
let status = Int(response.getResponseStatus())!
266266
return status == 0
267267
},

0 commit comments

Comments
 (0)