fantadrinker / finance-app

0 stars 0 forks source link

pass in user id in request param #184

Open fantadrinker opened 1 month ago

fantadrinker commented 1 month ago

currently the user id is decoded from token passed in from 'authorization' header, I should move away from that and use the passed in user id instead.

But the issue is how to check if user id matches the passed in auth header?

fantadrinker commented 1 month ago

don't think this is needed, I can use the decoded value