fix: log api token ID

This commit is contained in:
David Nguyen
2025-06-27 19:29:01 +10:00
parent 21dc4eee62
commit bb6a41900c
@@ -41,6 +41,10 @@ export const getApiTokenByToken = async ({ token }: { token: string }) => {
throw new Error('Invalid token');
}
console.log({
tokenId: apiToken.id,
});
if (apiToken.expires && apiToken.expires < new Date()) {
throw new Error('Expired token');
}