Skip to content

Commit 092bb1e

Browse files
committed
Bug fix: Add missing await for _dbRequestHandlerService
1 parent 6c42e23 commit 092bb1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/IO.Swagger.Lib.V3/Controllers/SubmodelRepositoryAPIApi.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2445,7 +2445,7 @@ public async virtual Task<IActionResult> PostSubmodelElementByPathSubmodelRepo([
24452445

24462446
_logger.LogInformation($"Received request to create a new submodel element at {idShortPath} in the submodel with id {decodedSubmodelIdentifier}");
24472447

2448-
var output = _dbRequestHandlerService.CreateSubmodelElement(securityConfig, null, decodedSubmodelIdentifier, body, idShortPath);
2448+
var output = await _dbRequestHandlerService.CreateSubmodelElement(securityConfig, null, decodedSubmodelIdentifier, body, idShortPath);
24492449

24502450
/*
24512451
if (output != null)

0 commit comments

Comments
 (0)