Figured it out! I forgot to return the data if it wasnt an array. Idiot