finish
This commit is contained in:
1 parent
32ae5530b6
commit
c07a2f6dae
20 files changed
+995
-61
No files matched your search
@@ -488,7 +488,8 @@ class CreatomateService:
|
||||
json=payload,
|
||||
)
|
||||
|
||||
if response.status_code == 200 or response.status_code == 201:
|
||||
# 200 OK, 201 Created, 202 Accepted 모두 성공으로 처리
|
||||
if response.status_code in (200, 201, 202):
|
||||
return response.json()
|
||||
|
||||
# 재시도 불가능한 오류 (4xx 클라이언트 오류)
|
||||
@@ -557,7 +558,8 @@ class CreatomateService:
|
||||
json=source,
|
||||
)
|
||||
|
||||
if response.status_code == 200 or response.status_code == 201:
|
||||
# 200 OK, 201 Created, 202 Accepted 모두 성공으로 처리
|
||||
if response.status_code in (200, 201, 202):
|
||||
return response.json()
|
||||
|
||||
# 재시도 불가능한 오류 (4xx 클라이언트 오류)
|
||||
|
||||
Reference in new issue
Block a user