From c68ba658c83e173c0bfcaea0ea0117fa169aad0e Mon Sep 17 00:00:00 2001 From: Leandro Alonso Date: Thu, 12 Dec 2024 14:53:49 -0300 Subject: [PATCH] Pass the device type to the update task --- .../Server/Sources/PocketCastsServer/Public/Sync/SyncTask.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/Server/Sources/PocketCastsServer/Public/Sync/SyncTask.swift b/Modules/Server/Sources/PocketCastsServer/Public/Sync/SyncTask.swift index d4313ebe0..c3f72bbcb 100644 --- a/Modules/Server/Sources/PocketCastsServer/Public/Sync/SyncTask.swift +++ b/Modules/Server/Sources/PocketCastsServer/Public/Sync/SyncTask.swift @@ -1,4 +1,5 @@ import Foundation +import SwiftProtobuf import PocketCastsDataModel import PocketCastsUtils @@ -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 {}