Commit e139c94 1 parent 0855562 commit e139c94 Copy full SHA for e139c94
File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN npm install -g pnpm
10
10
11
11
RUN pnpm i --frozen-lockfile
12
12
13
- ENV SKIP_ENV_VALIDATION=1
13
+ ARG SKIP_ENV_VALIDATION=1
14
14
15
15
RUN pnpm build
16
16
Original file line number Diff line number Diff line change @@ -34,10 +34,6 @@ export const getAccessToken = async (): Promise<string> => {
34
34
return AccessToken ;
35
35
}
36
36
37
- if ( ! ZETTLE_CLIENT_SECRET || ! ZETTLE_CLIENT_ID ) {
38
- throw Error ( "Missing Zettle API key or client ID" ) ;
39
- }
40
-
41
37
const response = await fetch ( "https://oauth.zettle.com/token" , {
42
38
method : "POST" ,
43
39
headers : {
@@ -61,4 +57,4 @@ export const getAccessToken = async (): Promise<string> => {
61
57
AccessToken = accessToken ;
62
58
63
59
return accessToken ;
64
- } ;
60
+ } ;
You can’t perform that action at this time.
0 commit comments