altered contact/add in order to make use of the new contact backend instead of the legacy API
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -5,11 +5,10 @@ import static de.srsoftware.umbrella.core.Constants.*;
|
||||
import static de.srsoftware.umbrella.core.exceptions.UmbrellaException.missingFieldException;
|
||||
|
||||
import de.srsoftware.tools.Mappable;
|
||||
import org.json.JSONObject;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.util.Map;
|
||||
import org.json.JSONObject;
|
||||
|
||||
public record Contact(long id, String vcard) implements Mappable {
|
||||
public static Contact of(ResultSet rs) throws SQLException {
|
||||
|
||||
Reference in New Issue
Block a user