Skip to content

Skip saving the diffs whitespace setting if the user isn't logged in

What does this MR do?

For #333912 (closed).

Since saving to the API is the first thing that happens in the action, if it fails, the rest of the action doesn't run (because failed awaits have to be catched).

This just adds a guard to the action to skip the API call if the user isn't logged in.

Screenshots (strongly suggested)

This is just a bugfix.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Thomas Randolph

Merge request reports