From 35ba69c8ed33ade3e233fe0d407ff80f5a15e375 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Wed, 11 Jul 2018 16:30:57 -0600 Subject: [PATCH] fix: allow url to not be provided --- src/core/server/graph/tenant/schema/schema.graphql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/server/graph/tenant/schema/schema.graphql b/src/core/server/graph/tenant/schema/schema.graphql index 086eb34ed..0d317b963 100644 --- a/src/core/server/graph/tenant/schema/schema.graphql +++ b/src/core/server/graph/tenant/schema/schema.graphql @@ -586,9 +586,9 @@ type Query { assets(cursor: Cursor, limit: Int = 10): AssetsConnection """ - asset is the Asset specified by its ID. + asset is the Asset specified by its ID/URL. """ - asset(id: ID, url: String!): Asset + asset(id: ID, url: String): Asset """ me is the current logged in User.