Remove an unused user-agent argument

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2025-05-14 14:39:11 -04:00
1 parent b7e986f43c
commit dee3723d97
1 file changed
+1 -2
@@ -240,8 +240,7 @@ public class KeysController {
@ApiResponse(responseCode = "422", description = "Invalid request format")
public CompletableFuture<Response> checkKeys(
@ReadOnly @Auth final AuthenticatedDevice auth,
@RequestBody @NotNull @Valid final CheckKeysRequest checkKeysRequest,
@HeaderParam(HttpHeaders.USER_AGENT) final String userAgent) {
@RequestBody @NotNull @Valid final CheckKeysRequest checkKeysRequest) {
final UUID identifier = auth.getAccount().getIdentifier(checkKeysRequest.identityType());
final byte deviceId = auth.getAuthenticatedDevice().getId();