Nit: this breaks the linter, and the indentation of the `detail` object could be better.