api: detailed_merge_status shows wrong value when calling with the same token

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The attribute detailed_merge_status is not updated. If we called the API before the end of the ci, the status will be always ci_is_running.

image.png

With another token:

image.png

Edited by 🤖 GitLab Bot 🤖