Update route
This commit is contained in:
@@ -76,7 +76,8 @@ public final class PushClient {
|
||||
*/
|
||||
public func getUnapprovedDevices(masterKey: String) async -> [DeviceRegistration]? {
|
||||
let hash = hash(masterKey)
|
||||
guard let data = await post(.listUnapprovedDevices, bodyData: hash) else {
|
||||
let request = AdminRequest(keyHash: hash, application: application)
|
||||
guard let data = await post(.listUnapprovedDevices, body: request) else {
|
||||
return nil
|
||||
}
|
||||
do {
|
||||
|
Reference in New Issue
Block a user