Skip to content

Commit e495bd1

Browse files
Merge pull request #191 from HubSpot/br/return-unauthed-tracking-request
fix: Return the tracking request when not authenticated
2 parents 8083ad5 + 92126c8 commit e495bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/trackUsage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ export async function trackUsage(
5959
resolveWithFullResponse: true,
6060
});
6161
logger.debug(i18n(`${i18nKey}.sendingEventUnauthenticated`));
62-
axios({ ...axiosConfig, method: 'post' });
62+
return axios({ ...axiosConfig, method: 'post' });
6363
}

0 commit comments

Comments
 (0)