UNPKG
@servable/server
Version:
latest (1.10.5)
1.10.5
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.5
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.14
1.7.13
1.7.12
1.7.11
1.7.10
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
Servable server
github.com/servable-core/server
servable-core/server
@servable/server
/
src
/
protocols
/
servableconfigurable
/
lib
/
getInstallation.js
11 lines
(8 loc)
•
257 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
default
async
(
installationId
)
=> {
if
(!installationId) {
return
null
}
const
query =
new
Servable.App.Query(
'_Installation'
) query.equalTo(
'installationId'
, installationId)
return
query.first({ useMasterKey:
true
}) }