Fixed bug with the user synced attributes when the user doesn't exist

parent 15b63e15
......@@ -224,7 +224,7 @@ module Gitlab
end
def clear_user_synced_attributes_metadata
gl_user.user_synced_attributes_metadata&.destroy
gl_user&.user_synced_attributes_metadata&.destroy
end
def log
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment