mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 14:00:17 +00:00
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:
co-authored by
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
parent
cd4b35f3c9
commit
93c458d856
+1
-1
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user