Skip to content

Commit aca9a53

Browse files
authored
Merge pull request cosmicpython#323 from zhangcheng/patch-1
Just to be consistent with previous cases
2 parents e8dfa11 + 533cbe3 commit aca9a53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter_04_service_layer.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,9 @@ def allocate_endpoint():
550550
try:
551551
batchref = services.allocate(line, repo, session) #<2>
552552
except (model.OutOfStock, services.InvalidSku) as e:
553-
return {"message": str(e)}, 400 <3>
553+
return {"message": str(e)}, 400 #<3>
554554
555-
return {"batchref": batchref}, 201 <3>
555+
return {"batchref": batchref}, 201 #<3>
556556
----
557557
====
558558

0 commit comments

Comments
 (0)