ucsb-cs156-s24 / proj-gauchoride-s24-5pm-8

https://ucsb-cs156-s24.github.io/proj-gauchoride-s24-5pm-8/
1 stars 0 forks source link

BUG: Driver viewing driver availabilities table results in backend error #3

Closed github-actions[bot] closed 4 months ago

github-actions[bot] commented 4 months ago

Summary

When a user with just a driver role views the driver availability index page from Shifts -> Availability results in a bunch of 404 backend GET error toasts.

Expected Behavior

There should be no toasts, and a driver should be able to view their availabilities.

Current / Observed Behavior

image

Steps to Reproduce

  1. As a user with only role driver
  2. Click the Shifts dropdown on the navbar
  3. Click Availability

Fix

github-actions[bot] commented 4 months ago

Copied from https://github.com/ucsb-cs156/proj-gauchoride/issues/104