Typo fix

Accidentially called the warning field from the API "warning" instead of
"warnings".