sync-gateway: fix method for a single document uploads