mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
Merge branch 'develop' into rc
* develop: fix rowyRun error when settings doc hasn't loaded in yet
This commit is contained in:
@@ -376,8 +376,8 @@ export const ProjectContextProvider: React.FC = ({ children }) => {
|
||||
const { service, ...rest } = args;
|
||||
const authToken = await getAuthToken();
|
||||
const serviceUrl = service
|
||||
? settings.doc.services[service]
|
||||
: settings.doc.rowyRunUrl;
|
||||
? settings.doc?.services[service]
|
||||
: settings.doc?.rowyRunUrl;
|
||||
|
||||
if (serviceUrl) {
|
||||
return rowyRun({
|
||||
|
||||
Reference in New Issue
Block a user