This commit is contained in:
Dragon Fire
2021-03-08 17:03:20 -05:00
parent a833c43428
commit 606bf297f4
+1 -1
View File
@@ -11,7 +11,7 @@ module.exports = class UrlType extends ArgumentType {
return Boolean(validURL.isWebUri(value));
}
async parse(value) {
parse(value) {
return new URL(value);
}
};