Skip to content

Commit

Permalink
#1299 - profilePicture is updated by Media Service
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Feb 16, 2024
1 parent 2eacac3 commit 22911fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openchs-android/src/service/IndividualService.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class IndividualService extends BaseService {
const db = this.db;
this.db.write(() => {
ObservationsHolder.convertObsForSave(individual.observations);
db.create(Individual.schema.name, {uuid: individual.uuid, observations: individual.observations}, Realm.UpdateMode.Modified);
db.create(Individual.schema.name, {uuid: individual.uuid, observations: individual.observations, profilePicture: individual.profilePicture}, Realm.UpdateMode.Modified);
db.create(EntityQueue.schema.name, EntityQueue.create(individual, Individual.schema.name));
});
}
Expand Down

0 comments on commit 22911fb

Please sign in to comment.