Skip to content

Commit

Permalink
use a shorter label for provider (omit vpn suffix)
Browse files Browse the repository at this point in the history
  • Loading branch information
ainghazal committed Mar 25, 2024
1 parent 856b2a1 commit e1d00d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ooniapi/services/ooniprobe/src/ooniprobe/routers/v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_vpn_config(
"""GET VPN config parameters for a given provider, including authentication"""
log.debug(f"GET vpn config for {provider_name}")

if provider_name != "riseupvpn":
if provider_name != "riseup":
raise HTTPException(status_code=404, detail="provider not found")

try:
Expand Down

0 comments on commit e1d00d3

Please sign in to comment.