Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Add joi validation to the user schema #141

Open
Sukriti-m opened this issue Oct 4, 2022 · 12 comments
Open

Add joi validation to the user schema #141

Sukriti-m opened this issue Oct 4, 2022 · 12 comments

Comments

@Sukriti-m
Copy link
Contributor

I will add the joi validation to the user schema

Please assign this issue to me and add the 'hacktoberfest' label to it.

@jaspermayone
Copy link
Collaborator

Sounds good @Sukriti-m!

@ank1traj
Copy link
Contributor

@j-dogcoder Assign it to me.

@ank1traj
Copy link
Contributor

@j-dogcoder Can you provide the .env file?

@jaspermayone
Copy link
Collaborator

I don't provide access to those things. The repo should have a sample.env

@ank1traj
Copy link
Contributor

Getting 401 error on every API call @j-dogcoder

@jaspermayone
Copy link
Collaborator

What are you calling? (What url)

@ank1traj
Copy link
Contributor

:v4/jokes

@jaspermayone
Copy link
Collaborator

it is /v4 not :

@jaspermayone
Copy link
Collaborator

@ank1traj

@ank1traj
Copy link
Contributor

@j-dogcoder It was like localhost:3000/v4/jokes. So, I removed the url with ':' and added slug only

@jaspermayone
Copy link
Collaborator

The full url should be http://localhost:3000/v4/jokes

@ank1traj
Copy link
Contributor

I know but getting unauthorised and even after signup login is not working for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants