mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 19:05:48 +03:00
16 lines
237 B
Plaintext
16 lines
237 B
Plaintext
/- *gcp
|
|
|%
|
|
++ token-to-json
|
|
|= =token
|
|
^- json
|
|
=, enjs:format
|
|
%+ frond %gcp-token
|
|
%: pairs
|
|
[%'accessKey' s+access-key.token]
|
|
:- %'expiresIn'
|
|
%- numb
|
|
(div (mul 1.000 expires-in.token) ~s1)
|
|
~
|
|
==
|
|
--
|