fix imgs
This commit is contained in:
parent
38b126dcb6
commit
f550b71f7d
|
@ -215,14 +215,14 @@ class PetsPageModel extends FlutterFlowModel<PetsPageWidget> {
|
|||
}
|
||||
|
||||
Future<void> registerPet() async {
|
||||
var img = await actions.convertImageFileToBase64(uploadedLocalFile!);
|
||||
img = "base64;jpeg,$img";
|
||||
await PhpGroup.registerPet
|
||||
.call(
|
||||
cliID: AppState().cliUUID,
|
||||
devUUID: AppState().devUUID,
|
||||
userUUID: AppState().userUUID,
|
||||
image: await actions.convertImageFileToBase64(
|
||||
uploadedLocalFile!,
|
||||
),
|
||||
image: img,
|
||||
birthdayDate: textControllerData!.text,
|
||||
color: textControllerColor!.text,
|
||||
breed: textControllerRace!.text,
|
||||
|
|
Loading…
Reference in New Issue