Skip to content

Commit

Permalink
Removed debug
Browse files Browse the repository at this point in the history
  • Loading branch information
HenningNormann committed Feb 25, 2025
1 parent 6189880 commit 6fa7f5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Storage/Controllers/DataController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public async Task<ActionResult<DataElement>> Delete(int instanceOwnerPartyId, Gu
/// <param name="instanceGuid">The id of the instance that the data element is associated with.</param>
/// <param name="dataGuid">The id of the data element to retrieve.</param>
/// <returns>The data file as a stream.</returns>
////[Authorize(Policy = AuthzConstants.POLICY_INSTANCE_READ)]
[Authorize(Policy = AuthzConstants.POLICY_INSTANCE_READ)]
[HttpGet("data/{dataGuid:guid}")]
[RequestSizeLimit(RequestSizeLimit)]
[ProducesResponseType(StatusCodes.Status200OK)]
Expand All @@ -162,7 +162,6 @@ public async Task<ActionResult<DataElement>> Delete(int instanceOwnerPartyId, Gu
[Produces("application/json")]
public async Task<ActionResult> Get(int instanceOwnerPartyId, Guid instanceGuid, Guid dataGuid)
{
Console.WriteLine("Lang: " + LanguageHelper.GetCurrentUserLanguage(Request));
if (instanceOwnerPartyId == 0)
{
return BadRequest("Missing parameter value: instanceOwnerPartyId can not be empty");
Expand Down

0 comments on commit 6fa7f5a

Please sign in to comment.