Wait for async updateProperties
updateProperties
is an asynchronous method, so needs an await
.
I also removed the reassignment of collection
and fragment
to themselves, as they're already modified in place.
updateProperties
is an asynchronous method, so needs an await
.
I also removed the reassignment of collection
and fragment
to themselves, as they're already modified in place.