Skip to content

Commit

Permalink
Media image API handler #10882
Browse files Browse the repository at this point in the history
  • Loading branch information
anatol-sialitski committed Feb 27, 2025
1 parent b676697 commit cd4bd0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ protected void writeResponseContent( final PortalResponse.Builder portalResponse

protected abstract T cast( Content content );

protected abstract void addTrace( T media );
protected abstract void addTrace( T content );

private Content getContent( final ContentId contentId )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ protected Content cast( final Content content )
}

@Override
protected void addTrace( final Content media )
protected void addTrace( final Content content )
{
final Trace trace = Tracer.current();
if ( trace != null )
{
trace.put( "contentPath", media.getPath() );
trace.put( "contentPath", content.getPath() );
trace.put( "type", "attachment" );
}
}
Expand Down

0 comments on commit cd4bd0b

Please sign in to comment.