Fix api rest (#2860)

* Throw an error if workspace id has no object

* Request only plurial object names

* Fix tests

* Fix query

* Handle graphql errors

* Fix comment
This commit is contained in:
martmull
2023-12-07 14:10:24 +01:00
committed by GitHub
parent 62fa55eae6
commit 4fecf6d8b9
5 changed files with 41 additions and 14 deletions
@@ -60,7 +60,7 @@ export class EnvironmentVariables {
@IsUrl({ require_tld: false })
FRONT_BASE_URL: string;
// Frontend URL
// Server URL
@IsUrl({ require_tld: false })
@IsOptional()
SERVER_URL: string;