Skip to content

Commit

Permalink
fix empty case for CredentialFetchRequestMessageType (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk authored Feb 3, 2025
1 parent 1d58971 commit 1e100b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/api/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ func (s *Server) Agent(ctx context.Context, request AgentRequestObject) (AgentRe
return Agent400JSONResponse{N400JSONResponse{err.Error()}}, nil
}

case protocol.CredentialFetchRequestMessageType:
case protocol.RevocationStatusRequestMessageType:
case protocol.CredentialFetchRequestMessageType, protocol.RevocationStatusRequestMessageType:
response, err = s.claimService.Agent(ctx, req, mediatype)
if err != nil {
log.Error(ctx, "agent error", "err", err)
Expand Down

0 comments on commit 1e100b5

Please sign in to comment.