Only call fetchRepStatus if loggedIn #97172
Labels
accredited-representation-management-team
Accredited Representation Management team
frontend
mvp
Initial version of thing
The call to fetchRepStatus in Appoint a Rep is currently being called for all users, regardless of whether or not they're logged in. If the user is not logged in, this call will result in a
500
error. If Appoint is launched as-is, this will significantly increase the number of errors for the power_of_attorney endpoint.Only call fetchRepStatus (which in turn calls the power_of_attorney endpoint) if the user is logged in.
The text was updated successfully, but these errors were encountered: