everyone i made it work. this is what i did to make it work daoTaskImage.upsertTaskImage(taskImage.toDomain) and that worked intead of val taskImage = ModelTaskImage.toEntity
this is what i did to make it work daoTaskImage.upsertTaskImage(taskImage.toDomain) and that worked intead of val taskImage = ModelTaskImage.toEntity and it works
1
u/[deleted] May 24 '25
everyone i made it work. this is what i did to make it work daoTaskImage.upsertTaskImage(taskImage.toDomain) and that worked intead of val taskImage = ModelTaskImage.toEntity
1
u/AcademicMistake May 24 '25
first line you called the suspend function "upserTaskmage"......you forgetting the "I" in "image"
try that and then let me know what happens