Skip to content

Commit

Permalink
Fix SyncThingTypesJob (#2098)
Browse files Browse the repository at this point in the history
  • Loading branch information
hocinehacherouf authored and kbeaugrand committed Jun 20, 2023
1 parent 1002ac1 commit 6b461a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ private async Task SyncThingTypesAsDeviceModels()
{
var thingTypes = await GetAllThingTypes();

thingTypes.ForEach(async thingType =>
foreach (var thingType in thingTypes)
{
await CreateOrUpdateDeviceModel(thingType);
});
}

//Delete in Database AWS deleted thing types
await DeleteThingTypes(thingTypes);
Expand Down

0 comments on commit 6b461a6

Please sign in to comment.