Ghost
New
phantomknight287
/
saturn
public
The operating system for your freelance business.
Star
0
Fork
0
Code
Issues
0
Pull requests
0
96eaace
1
branch
Go to file
t
Code
saturn
src
lib
polar.ts
feat: ship public API, API keys UI, and dashboard overhaul
1f2abd6
6 months ago
7 lines · 217 B
1
import
{
Polar
}
from
'
@polar-sh/sdk
'
2
import
{
env
}
3
4
export
const
polarClient
=
5
accessToken
:
env
.
POLAR_ACCESS_TOKEN
6
server
:
env
.
NODE_ENV
7
}
)
from
'
@/env
'
new
Polar
(
{
,
===
'
development
'
?
'
sandbox
'
:
'
production
'
,