File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 25
25
run : |
26
26
pdm install
27
27
28
+ - name : Check format
29
+ run : pdm run black logto samples --check
30
+
28
31
- name : Build
29
32
run : pdm build
30
33
Original file line number Diff line number Diff line change @@ -140,12 +140,16 @@ async def fetchTokenByRefreshToken(
140
140
"client_id" : clientId ,
141
141
"client_secret" : clientSecret ,
142
142
"refresh_token" : refreshToken ,
143
- "resource" : resource
144
- if not resource .startswith (OrganizationUrnPrefix )
145
- else None ,
146
- "organization_id" : resource [len (OrganizationUrnPrefix ) :]
147
- if resource .startswith (OrganizationUrnPrefix )
148
- else None ,
143
+ "resource" : (
144
+ resource
145
+ if not resource .startswith (OrganizationUrnPrefix )
146
+ else None
147
+ ),
148
+ "organization_id" : (
149
+ resource [len (OrganizationUrnPrefix ) :]
150
+ if resource .startswith (OrganizationUrnPrefix )
151
+ else None
152
+ ),
149
153
}
150
154
),
151
155
) as resp :
You can’t perform that action at this time.
0 commit comments