UNPKG
@shuuji3/kintone-utility
Version:
latest (1.1.0)
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.4.1
Utility library for development on Kintone platform.
shuuji3/kintone-utility
@shuuji3/kintone-utility
/
src
/
js
/
rest
/
setGuestSpaceId.js
12 lines
(10 loc)
•
282 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
errors
from
'./resource/errorMessages.json'
;
/** Function: setGuestSpaceId *
@param
{
number
}
guestSpaceId
*/
export
default
(guestSpaceId) => {
if
(!guestSpaceId) {
throw
errors.
emptyGuestSpaceId
; } kintoneUtility.
rest
.
guestSpaceId
= guestSpaceId; };