Update data.ts (#408)

* Update data.ts

Just a typo for 'Failed to fetch card data.'

* Update wording in final-example

---------

Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
This commit is contained in:
Luther Tchofo Safo
2023-11-16 16:02:16 +01:00
committed by GitHub
parent 53f754109b
commit 3d31555920
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ export async function fetchCardData() {
};
} catch (error) {
console.error('Database Error:', error);
throw new Error('Failed to card data.');
throw new Error('Failed to fetch card data.');
}
}

View File

@@ -83,7 +83,7 @@ export async function fetchCardData() {
};
} catch (error) {
console.error('Database Error:', error);
throw new Error('Failed to card data.');
throw new Error('Failed to fetch card data.');
}
}