in progress: db support for tandem add to user table on supabase registration

This commit is contained in:
2022-10-10 18:28:49 -05:00
parent f29ee33ca1
commit 4965480aaf
9 changed files with 96 additions and 4 deletions

View File

@@ -23,4 +23,12 @@ module.exports = class UserService {
throw new Error(e);
}
}
async insert(data) {
try {
const user = await UserInstance.create(data);
} catch(e) {
next(e);
}
}
}