refactor: remove commented interface in storage.service.ts
**Motivations :** - Supprimer le code mort (interface commentée) **Modifications :** - Supprimer l'interface TestResponse commentée dans storage.service.ts **Pages affectées :** - src/services/storage.service.ts (supprime interface commentée)
This commit is contained in:
parent
393b75c03b
commit
1f9100e3fe
@ -106,11 +106,6 @@ export async function retrieveData(servers: string[], key: string): Promise<Arra
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// interface TestResponse { // Unused interface
|
|
||||||
// key: string;
|
|
||||||
// value: boolean;
|
|
||||||
// }
|
|
||||||
|
|
||||||
export async function testData(url: string, _key: string): Promise<boolean | null> {
|
export async function testData(url: string, _key: string): Promise<boolean | null> {
|
||||||
try {
|
try {
|
||||||
const response = await axios.get(url);
|
const response = await axios.get(url);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user