Throw an error if workspace id has no object (#2857)

* Throw an error if workspace id has no object

* Request only plurial object names

* Fix tests

* Fix query

* Handle graphql errors
This commit is contained in:
martmull
2023-12-07 12:32:29 +01:00
committed by GitHub
parent 06936c3c2a
commit 3cd1ec21e6
9 changed files with 36 additions and 23 deletions

View File

@ -27,6 +27,7 @@ import OptionTable from '@site/src/theme/OptionTable'
['REDIS_HOST', '127.0.0.1', 'Redis connection host'],
['REDIS_PORT', '6379', 'Redis connection port'],
['FRONT_BASE_URL', 'http://localhost:3001', 'Url to the hosted frontend'],
['SERVER_URL', 'http://localhost:3000', 'Url to the hosted server'],
['PORT', '3000', 'Port'],
]}></OptionTable>
@ -97,4 +98,4 @@ import OptionTable from '@site/src/theme/OptionTable'
<OptionTable options={[
['DEBUG_MODE', 'true', 'Activate debug mode'],
['SIGN_IN_PREFILLED', 'true', 'Prefill the Signin form for usage in a demo or dev enviroment'],
]}></OptionTable>
]}></OptionTable>