addtl consoling

master
j 2024-03-31 00:22:49 -04:00
parent 1f8ad214db
commit fbdd22909a
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ export class CommentFetcher {
* @throws {Error} Throws an error if there is a failure in fetching comments from the API.
*/
static async fetchComments(page: number): Promise<Comment[]> {
console.time(`Fetching page: ${page}`);
console.time(`${new Date()} Fetching page: ${page}`);
try {
const axiosInstance = SessionManager.getInstance().axiosInstance;
const response = await axiosInstance.get(`/comments?page=${page}`);