add payment route + additional starting blocks
This commit is contained in:
7
src/lib/components/PaymentCard.svelte
Normal file
7
src/lib/components/PaymentCard.svelte
Normal file
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
export let payment;
|
||||
</script>
|
||||
<div>
|
||||
<p>{payment.amount}</p>
|
||||
<p>{payment.payee}</p>
|
||||
</div>
|
@ -31,7 +31,8 @@ export async function authenticateUser(cookies){
|
||||
}
|
||||
return {
|
||||
username: decoded.username,
|
||||
access: res.access
|
||||
access: res.access,
|
||||
_id: res._id.toString(),
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
Reference in New Issue
Block a user