Remove an unused user-agent argument

This commit is contained in:
Jon Chambers 2025-05-05 14:41:31 -04:00 committed by Jon Chambers
parent b7e986f43c
commit dee3723d97
1 changed files with 1 additions and 2 deletions

View File

@ -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();