UNPKG
fenixedu
Version:
latest (0.0.3)
0.0.3
FenixEdu API module wrapper
github.com/XicoMBD/fenixedu
XicoMBD/fenixedu
fenixedu
/
lib
/
about
/
index.js
18 lines
(13 loc)
•
271 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
var
r =
require
(
'./../../modules/r.js'
);
exports
=
module
.
exports
;
exports
.
getAbout
=
function
getAbout
(
cb
){ r.
get
({
uri
:
'about'
}, gotAbout);
function
gotAbout
(
err, reply
){
if
(err){
return
cb
(err,
null
); }
return
cb
(
null
, reply); } };