Presumably that's easy enough given just the snippet in question, but they hadn't narrowed the issue down to that snippet because they had no idea it was happening on the user creation, because they didn't have the logs.
I expect ChatGPT wouldn't have been able to solve the issue given the entire codebase.
I expect ChatGPT wouldn't have been able to solve the issue given the entire codebase.