Also change redirectUri to optNull

This commit is contained in:
zkldi
2021-11-09 15:53:46 +00:00
parent 405155dc51
commit 6b95e46363
@@ -215,7 +215,7 @@ router.patch(
return true;
}),
redirectUri: p.optional((self) => {
redirectUri: optNull((self) => {
if (typeof self !== "string") {
return "Expected a string.";
}