Fix hardcoded upload type.