Skip to content

Commit

Permalink
'Accept' status codes extended with 201.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbanda committed Nov 13, 2023
1 parent 344a330 commit 2a76c6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ trait WSRequestHelper extends WSHelper {

protected val serviceName: String = getClass.getSimpleName

private val defaultAcceptableStatusCodes = Seq(200)
private val defaultAcceptableStatusCodes = Seq(200, 201)

protected type RichResponse[T] = Either[T, (Int, String)]
protected type RichJsResponse = RichResponse[JsValue]
Expand Down

0 comments on commit 2a76c6d

Please sign in to comment.