fix(preferences): Fix the issue when signature is too long and preferences are not saved. Note that MySQL profile table should be updated with a migration script

This commit is contained in:
smizrahi committed 2023-07-25 17:22:11 +02:00
1 parent ec27f7e714
commit 326bc68f4c
13 files changed
+95 -9

No files matched your search

+3
View File
@@ -1743,6 +1743,9 @@ static NSArray *reminderValues = nil;
else
results = (id <WOActionResults>) [self responseWithStatus: 503
andJSONRepresentation: [NSDictionary dictionaryWithObjectsAndKeys: @"Service temporarily unavailable", @"message", nil]];
} else {
results = (id <WOActionResults>) [self responseWithStatus: 500
andJSONRepresentation: [NSDictionary dictionaryWithObjectsAndKeys: @"Error during the validation", @"message", nil]];
}
}