Refactor AttachmentCommand to GetAttachmentCommand

This commit is contained in:
cedb 2022-11-01 16:17:12 -04:00
parent c66e78b0ad
commit 14c339a04c
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ public class Commands {
static {
addCommand(new AddDeviceCommand());
addCommand(new AttachmentCommand());
addCommand(new GetAttachmentCommand());
addCommand(new BlockCommand());
addCommand(new DaemonCommand());
addCommand(new DeleteLocalAccountDataCommand());

View file

@ -15,11 +15,11 @@ import java.io.IOException;
import java.io.InputStream;
import java.util.Base64;
public class AttachmentCommand implements JsonRpcLocalCommand {
public class GetAttachmentCommand implements JsonRpcLocalCommand {
@Override
public String getName() {
return "attachment";
return "getAttachment";
}
@Override