I'd like to know what she wrote on it because there is a clip of Clive Davis listening to it back in 2011 (while Leona was recording the album) on a CBS special and it clearly states on the lyric sheet he was reading, that it was written by Ryan Tedder and Brent Kutzle.
Unless she wrote part of the production (which you can get a writing credit for).