Skip to content
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

Merged
merged 5 commits into from
Nov 8, 2024

Conversation

patrickwebsdev
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dana ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 3:24pm

Copy link

supabase bot commented Nov 8, 2024

No changes detected in supabase directory.
This pull request has been ignored for the connected project nmvcsenkfqbdlfdtiqdo due to its connection settings.
Go to Project Integrations Settings ↗︎ in order to change this behavior.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

Comment on lines +15 to +18

export type CollectionPointType = 'permanente' | 'temporal';
export type CollectionPointStatus = 'active' | 'inactive';
export type CollectionPointData = Database['public']['Tables']['collection_points']['Row'];
Copy link
Collaborator Author

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

Comment on lines +16 to +19
// const { data: dataUser, error: errorUser } = await supabase.auth.getUser();
// if (errorUser || !dataUser?.user) {
// return Response.json({ message: 'Not logged.', errorUser });
// }
Copy link
Collaborator Author

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

@patrickwebsdev patrickwebsdev merged commit 246ae0c into main Nov 8, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants