Revision 56032
Added by Konstantinos Triantafyllou almost 5 years ago
modules/uoa-services-portal/trunk/services/upload/uploadService.js | ||
---|---|---|
125 | 125 |
TinyURL.shorten(req.query.url, function(res1, err) { |
126 | 126 |
if (err) |
127 | 127 |
console.log(err) |
128 |
res.send({ |
|
129 |
tinyUrl: res1 |
|
130 |
}); |
|
128 |
res.send(res1); |
|
131 | 129 |
}); |
132 | 130 |
}); |
133 | 131 |
|
Also available in: Unified diff
[Trunk|Services]: UploadService: Tiny response is a plain text.