[Trunk|Services]: UploadService: Tiny response is a plain text.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@56032 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
00900b83cf
commit
d8c7ab76f7
|
@ -125,9 +125,7 @@ app.get('/tiny', function (req, res) {
|
|||
TinyURL.shorten(req.query.url, function(res1, err) {
|
||||
if (err)
|
||||
console.log(err)
|
||||
res.send({
|
||||
tinyUrl: res1
|
||||
});
|
||||
res.send(res1);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue