This commit is contained in:
Mary Hipp 2024-07-01 15:33:36 -04:00 committed by Mary Hipp Rogers
parent 93caa23ef8
commit 6f5c5b0757

View File

@ -30,7 +30,6 @@ export const authToastMiddleware: Middleware = () => (next) => (action) => {
if (endpointName === 'getImageDTO') {
// do not show toast if problem is image access
return next(action);
}
const customMessage = parsed.payload.data.detail !== 'Forbidden' ? parsed.payload.data.detail : undefined;