xHergz / TheMakeupApp

Capstone project for SET
0 stars 0 forks source link

Get Makeover Appointments 401 #118

Closed xHergz closed 5 years ago

xHergz commented 5 years ago

Description:

Getting makeover appointments when the user doesn't have an artist portfolio or doesn't have a client profile returns a 401 saying the client/artist doesn't belong to the session.

Reproduction Steps:

  1. Log in with client that has no artist portfolio or vice versa.
  2. Go to schedule page

    Proposed Solution:

    Looks like it might be passing the word null. Investigate to find the cause and fix the issue.

xHergz commented 5 years ago

It was caused by the ids being received as a string "null" rather than a real null.