Skip to content

Commit

Permalink
Pass SignRequest.GeneratedFromTask to `DataElementHelper.CreateData…
Browse files Browse the repository at this point in the history
…Element` (#100)

* Inject `CurrentTask.ElementId` in `CreateDataElement`

* Use `SignRequest.GeneratedFromTask` instead of `CurrentTask.ElementId`

* Bumps `Altinn.Platform.Storage.Interface`
  • Loading branch information
danielskovli authored May 15, 2024
1 parent 15abdee commit 85ba55e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/LocalTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="Altinn.Authorization.ABAC" Version="0.0.8" />
<PackageReference Include="Altinn.Common.PEP" Version="3.0.0" />
<PackageReference Include="Altinn.Platform.Models" Version="1.4.0" />
<PackageReference Include="Altinn.Platform.Storage.Interface" Version="3.22.0" />
<PackageReference Include="Altinn.Platform.Storage.Interface" Version="3.25.0" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.0" />
<PackageReference Include="FluentValidation" Version="11.8.0" />
<PackageReference Include="JWTCookieAuthentication" Version="2.4.2" />
Expand Down
2 changes: 1 addition & 1 deletion src/Services/Storage/Implementation/InstanceService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public InstanceService(IInstanceRepository instanceRepository, IDataService data
$"{signRequest.SignatureDocumentDataType}.json",
0,
userId.ToString(),
null);
signRequest.GeneratedFromTask);

signDocument.Id = dataElement.Id;

Expand Down

0 comments on commit 85ba55e

Please sign in to comment.