diff --git a/src/main/java/com/staketab/minanames/config/security/ApiKeyRequestFilter.java b/src/main/java/com/staketab/minanames/config/security/ApiKeyRequestFilter.java index e86e17a..de810c8 100644 --- a/src/main/java/com/staketab/minanames/config/security/ApiKeyRequestFilter.java +++ b/src/main/java/com/staketab/minanames/config/security/ApiKeyRequestFilter.java @@ -39,7 +39,7 @@ public void doFilter(ServletRequest servletRequest, ServletResponse servletRespo return; } - log.debug("Trying authorize with x-api-key: " + key); + log.debug("Trying authorize with x-api-key: {}", key); HttpServletResponse resp = (HttpServletResponse) servletResponse; Optional apiKey = getApiKey(key); diff --git a/src/main/java/com/staketab/minanames/service/impl/ZkCloudWorkerServiceImpl.java b/src/main/java/com/staketab/minanames/service/impl/ZkCloudWorkerServiceImpl.java index ddbfb2d..66678e5 100644 --- a/src/main/java/com/staketab/minanames/service/impl/ZkCloudWorkerServiceImpl.java +++ b/src/main/java/com/staketab/minanames/service/impl/ZkCloudWorkerServiceImpl.java @@ -64,7 +64,7 @@ @RequiredArgsConstructor public class ZkCloudWorkerServiceImpl implements ZkCloudWorkerService { - private static final String PATH_TO_IPFS_ZK_CLOUD_WORKER = "/ipfs/%s"; + private static final String PATH_TO_IPFS_ZK_CLOUD_WORKER = "ipfs/%s"; @Value("${zk-cloud-worker.mns-contract}") private String mnsContract;