Skip to content

Commit

Permalink
Pass the device type to the update task
Browse files Browse the repository at this point in the history
  • Loading branch information
leandroalonso committed Dec 12, 2024
1 parent 621f6d8 commit c68ba65
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Foundation
import SwiftProtobuf
import PocketCastsDataModel
import PocketCastsUtils

Expand Down Expand Up @@ -287,6 +288,7 @@ class SyncTask: ApiBaseTask {
syncRequest.country = country
}
syncRequest.deviceID = ServerConfig.shared.syncDelegate?.uniqueAppId() ?? ""
syncRequest.deviceType = Google_Protobuf_Int32Value(ServerConstants.Values.deviceTypeiOS)

return try syncRequest.serializedData()
} catch {}
Expand Down

0 comments on commit c68ba65

Please sign in to comment.