Fix customRequest when using the staging API.