Skip to content

Commit

Permalink
Revert "add logs"
Browse files Browse the repository at this point in the history
This reverts commit e98106f.
  • Loading branch information
malteish committed Jun 20, 2024
1 parent 0cda012 commit 66641fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/delivery-service/src/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ export default (

res.json(data);
} catch (e) {
console.error('POST PROFILE ERROR', e);

global.logger.warn({
message: 'POST profile',
error: JSON.stringify(e),
});
// eslint-disable-next-line no-console
console.log('POST PROFILE ERROR', e);
res.status(400).send({
Expand Down
3 changes: 1 addition & 2 deletions packages/lib/profile/src/Profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@ export async function checkUserProfile(
{ profile, signature }: SignedUserProfile,
ensName: string,
): Promise<boolean> {
console.log('checkUserProfile for ', ensName);
const accountAddress = await provider.resolveName(ensName);
console.log('got address ', accountAddress);

if (!accountAddress) {
throw Error(`Couldn't resolve name`);
}
Expand Down

0 comments on commit 66641fb

Please sign in to comment.