Update src/main/java/com/mediamanager/service/delegate/handler/bitdepth/UpdateBitDepthHandler.java
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
cd4b35f3c9
commit
93c458d856
|
|
@ -38,7 +38,7 @@ public class UpdateBitDepthHandler implements ActionHandler {
|
||||||
logger.warn("BitDepth not found with ID: {}", id);
|
logger.warn("BitDepth not found with ID: {}", id);
|
||||||
return TransportProtocol.Response.newBuilder()
|
return TransportProtocol.Response.newBuilder()
|
||||||
.setStatusCode(404)
|
.setStatusCode(404)
|
||||||
.setPayload(ByteString.copyFromUtf8("Artist not found"));
|
.setPayload(ByteString.copyFromUtf8("BitDepth not found"));
|
||||||
}
|
}
|
||||||
|
|
||||||
BitDepthMessages.BitDepth bitDepthProto = BitDepthMapper.toProtobuf(bitDepthOpt.get());
|
BitDepthMessages.BitDepth bitDepthProto = BitDepthMapper.toProtobuf(bitDepthOpt.get());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue