Refactor
This commit is contained in:
parent
7aeae04890
commit
5c93ee3e06
|
@ -109,7 +109,7 @@ export async function processInputBBReferences<
|
||||||
throw new InvalidBBRefError(id, FieldSubtype.USER)
|
throw new InvalidBBRefError(id, FieldSubtype.USER)
|
||||||
}
|
}
|
||||||
|
|
||||||
return user._id || null
|
return user._id!
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue