File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Modules/Sources/APIClient Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 } ,
You can’t perform that action at this time.
0 commit comments