Skip to content

Commit bd64309

Browse files
committed
chore: update
1 parent 92e5438 commit bd64309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fieldsConverter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export function enumToGraphQL(
387387
const desc = _getFieldDescription(field);
388388
if (desc) etc.setDescription(desc);
389389

390-
const fields = valueList.reduce(
390+
const fields = valueList?.reduce(
391391
(result, value) => {
392392
let key;
393393
if (value === null) {

0 commit comments

Comments
 (0)