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, minifiedUrl,
createdBy, createdBy,
} }
if (!alias) {
res.send('success alias does not exist');
}
Minfy.create(data) Minfy.create(data)
.then((data) => { .then((data) => {
res.send(data) res.send(data)