This commit is contained in:
Danko-chan 2022-03-22 12:34:19 +05:30
commit db572f0367
1 changed files with 4 additions and 0 deletions

View File

@ -121,6 +121,10 @@ module.exports.addURLAuthed = async (req, res) => {
minifiedUrl,
createdBy,
}
if (!alias) {
res.send('success alias does not exist');
}
Minfy.create(data)
.then((data) => {
res.send(data)