Skip to content

Commit

Permalink
Split brand/model params
Browse files Browse the repository at this point in the history
  • Loading branch information
RZR-UA committed Mar 28, 2024
1 parent 067f29c commit 5e8ca31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Backup/Commands/OARegisterDeviceCommand.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ - (void) main
params[@"token"] = _token;
params[@"lang"] = [OAUtilities currentLang];
UIDevice *device = [UIDevice currentDevice];
params[@"model"] = [NSString stringWithFormat:@"Apple %@", device.model]; // Apple iPhone, Apple iPad
params[@"brand"] = @"Apple";
params[@"model"] = device.model;
[OANetworkUtilities sendRequestWithUrl:OABackupHelper.DEVICE_REGISTER_URL params:params post:YES onComplete:^(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error) {
int status;
NSString *message;
Expand Down

0 comments on commit 5e8ca31

Please sign in to comment.