chore: implemented feedback plus some restructuring

This commit is contained in:
Catalin Pit
2024-01-17 12:44:25 +02:00
parent a1215df91a
commit 3b82ba57f3
6 changed files with 15 additions and 6 deletions

View File

@ -25,7 +25,7 @@ export const createApiToken = async ({ userId, tokenName }: CreateApiTokenInput)
});
if (!dbToken) {
throw new Error(`Failed to create the API token`);
throw new Error('Failed to create the API token');
}
return {