-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: now only get request from api #171
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
No changes detected in Preview Branches by Supabase. |
|
||
export type CollectionPointType = 'permanente' | 'temporal'; | ||
export type CollectionPointStatus = 'active' | 'inactive'; | ||
export type CollectionPointData = Database['public']['Tables']['collection_points']['Row']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto ni siquiera lo puse yo
// const { data: dataUser, error: errorUser } = await supabase.auth.getUser(); | ||
// if (errorUser || !dataUser?.user) { | ||
// return Response.json({ message: 'Not logged.', errorUser }); | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esto esta por si queremos hacer que solo puedan obtener las solicitudes los user auth
No description provided.