Skip to content

Commit d7ed139

Browse files
committed
fix: typo envvar PUBLIC_RDAP_LOOKUP_ENABLED
Fixes #110
1 parent 2bca5a0 commit d7ed139

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ LIMITED_FEATURES=false
8787
LIMIT_MAX_WATCHLIST=0
8888
LIMIT_MAX_WATCHLIST_DOMAINS=0
8989
LIMIT_MAX_WATCHLIST_WEBHOOKS=0
90-
PUBLIC_RDAP_LOOKUP_ENABLE=false
90+
PUBLIC_RDAP_LOOKUP_ENABLED=false
9191

9292
# STATISTICS
9393
INFLUXDB_ENABLED=false

docs/src/content/docs/en/install-config/configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {LinkCard} from '@astrojs/starlight/components';
3434
| `OAUTH_USERINFO_URL` | User Info URL (OAuth 2.0) | |
3535
| `OAUTH_SCOPE` | Scope (OAuth 2.0) | |
3636
| `SSO_AUTO_REDIRECT` | Redirect to the SSO auth URL | `false` |
37-
| `PUBLIC_RDAP_LOOKUP_ENABLE` | Allow unauthenticated domain name name lookups | `false` |
37+
| `PUBLIC_RDAP_LOOKUP_ENABLED` | Allow unauthenticated domain name name lookups | `false` |
3838
| `HTTP_SECURE_COOKIE` | Secure the session cookie (if HTTPS) | `true` |
3939

4040

docs/src/content/docs/fr/install-config/configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {LinkCard} from '@astrojs/starlight/components';
3434
| `OAUTH_USERINFO_URL` | URL des informations utilisateur (OAuth 2.0) | |
3535
| `OAUTH_SCOPE` | Scope (OAuth 2.0) | |
3636
| `SSO_AUTO_REDIRECT` | Redirection vers l'URL d'authentification du SSO | `false` |
37-
| `PUBLIC_RDAP_LOOKUP_ENABLE` | Autoriser les recherches anonymes de domaines | `false` |
37+
| `PUBLIC_RDAP_LOOKUP_ENABLED` | Autoriser les recherches anonymes de domaines | `false` |
3838
| `HTTP_SECURE_COOKIE` | Sécuriser le cookie de session (si HTTPS) | `true` |
3939

4040

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace App\Exception\Provider;
4+
5+
class DomainOrderFailedException extends AbstractProviderException
6+
{
7+
}

src/Exception/Provider/DomainOrderFailedExeption.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/Service/Provider/GandiProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use App\Dto\Connector\DefaultProviderDto;
66
use App\Dto\Connector\GandiProviderDto;
77
use App\Entity\Domain;
8-
use App\Exception\Provider\DomainOrderFailedExeption;
8+
use App\Exception\Provider\DomainOrderFailedException;
99
use App\Exception\Provider\InvalidLoginException;
1010
use Psr\Cache\CacheItemInterface;
1111
use Psr\Cache\CacheItemPoolInterface;
@@ -97,7 +97,7 @@ public function orderDomain(Domain $domain, bool $dryRun = false): void
9797

9898
if ((!$dryRun && Response::HTTP_ACCEPTED !== $res->getStatusCode())
9999
|| ($dryRun && Response::HTTP_OK !== $res->getStatusCode())) {
100-
throw new DomainOrderFailedExeption($res->toArray()['message']);
100+
throw new DomainOrderFailedException($res->toArray()['message']);
101101
}
102102
}
103103

src/Service/Provider/OvhProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use App\Dto\Connector\DefaultProviderDto;
66
use App\Dto\Connector\OvhProviderDto;
77
use App\Entity\Domain;
8-
use App\Exception\Provider\DomainOrderFailedExeption;
8+
use App\Exception\Provider\DomainOrderFailedException;
99
use App\Exception\Provider\ExpiredLoginException;
1010
use App\Exception\Provider\InvalidLoginStatusException;
1111
use App\Exception\Provider\PermissionErrorException;
@@ -108,7 +108,7 @@ public function orderDomain(Domain $domain, bool $dryRun = false): void
108108
);
109109
if (empty($offer)) {
110110
$conn->delete("/order/cart/{$cartId}");
111-
throw new DomainOrderFailedExeption();
111+
throw new DomainOrderFailedException();
112112
}
113113

114114
$item = $conn->post("/order/cart/{$cartId}/domain", [

0 commit comments

Comments
 (0)