Skip to content

Commit

Permalink
fix: added space
Browse files Browse the repository at this point in the history
  • Loading branch information
TalentedB committed Aug 22, 2023
1 parent e88c69c commit 2b2fa49
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 72 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ docker exec -it confesi-db psql -U postgres confesi
# seed data (use the POSTGRES_DSN found in `/scripts/test` not `.env`)
export POSTGRES_DSN="" # TODO: make a new bash env scripts that exports all of this
export MASK_SECRET="" # taken from .env

go run ./scripts/main.go --seed-schools

# endpoint speed checker
Expand Down
30 changes: 15 additions & 15 deletions features/admin/requests.http

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions features/auth/requests.http
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Content-Type: application/json
PATCH http://127.0.0.1:8080/api/v1/auth/update-email
Content-Type: application/json
X-AppCheck-Token: kXfeSRgYTnoUztu6MO8FndqiRayoBaJqyDKQmoqvX3V9sZVlep/cm7cP!mgd-B9H
Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6WyJhZG1pbiIsIm1vZF80MSIsIm1vZF8zMiIsInNfbW9kIl0sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDI1ODgsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic1AxRDhNWkFRcFpzcGQxTzd0dWZMUEJGcTl2MSIsImlhdCI6MTY5MjYwMjU4OCwiZXhwIjoxNjkyNjA2MTg4LCJlbWFpbCI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haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.VaGtS5XNTwS3vuPdWFgnwHLNl-H0rzETNX1yekg3fLHd1p-DA-w2WRDygnTW-KQyUDIUDgVOjlJz4E-ZCKT6_lD-kvY0Mjef9HE7s0SeBnpusc2_flI0qNZKkHO1aG4yXQyJvq5E7mwE3mWcb2EFmAi_rW2RnpEAKSe3yvcG3mGnOoNNnt6jH6FC6PBrn8IJHCwLLxdRPsuNXdcnW57Ofwt-RNzLW1Vbi5zXy7Xa51Tg3JoLDfKxhY2volLx7-F4OHVBrc8YYgO-RZF7vpA_zQDmWz0e-5hf7Dj0_hGDIYqBzy664YgCEgtNJe0zoG_2_JbZsLOHzOXIQopLLMogPA

{
"email": "[email protected]"
Expand All @@ -25,15 +25,15 @@ Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNG

POST http://127.0.0.1:8080/api/v1/auth/resend-verification-email
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6WyJhZG1pbiIsIm1vZF80MSIsIm1vZF8zMiIsInNfbW9kIl0sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDI1ODgsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3ViIjoic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MUEJGcTl2MSIsImlhdCI6MTY5MjY2Njc5MSwiZXhwIjoxNjkyNjcwMzkxLCJlbWFpbCI6Imh1a2NocmlzdG9waGVyMTJAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaHVrY2hyaXN0b3BoZXIxMkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.VaGtS5XNTwS3vuPdWFgnwHLNl-H0rzETNX1yekg3fLHd1p-DA-w2WRDygnTW-KQyUDIUDgVOjlJz4E-ZCKT6_lD-kvY0Mjef9HE7s0SeBnpusc2_flI0qNZKkHO1aG4yXQyJvq5E7mwE3mWcb2EFmAi_rW2RnpEAKSe3yvcG3mGnOoNNnt6jH6FC6PBrn8IJHCwLLxdRPsuNXdcnW57Ofwt-RNzLW1Vbi5zXy7Xa51Tg3JoLDfKxhY2volLx7-F4OHVBrc8YYgO-RZF7vpA_zQDmWz0e-5hf7Dj0_hGDIYqBzy664YgCEgtNJe0zoG_2_JbZsLOHzOXIQopLLMogPA

{}

### Send password reset email

POST http://127.0.0.1:8080/api/v1/auth/send-password-reset-email
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzODBlZjEyZjk1ZjkxNmNhZDdhNGNlMzg4ZDJjMmMzYzIzMDJmZGUiLCJ0eXAiOiJKV1QifQ.eyJyb2xlcyI6WyJhZG1pbiIsIm1vZF80MSIsIm1vZF8zMiIsInNfbW9kIl0sInN5bmMiOnRydWUsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS9jb25mZXNpLXNlcnZlci1kZXYiLCJhdWQiOiJjb25mZXNpLXNlcnZlci1kZXYiLCJhdXRoX3RpbWUiOjE2OTI2MDI1ODgsInVzZXJfaWQiOiJzUDFEOE1aQVFwWnNwZDFPN3R1ZkxQQkZxOXYxIiwic3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