Skip to content

Commit

Permalink
remove dead sections for user_calling_plans_crud.go
Browse files Browse the repository at this point in the history
Signed-off-by: Tadayuki Onishi <tonishi@folio-sec.com>
  • Loading branch information
Tadayuki Onishi committed Aug 24, 2024
1 parent d51ad5c commit dc09115
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ func (c *crud) create(ctx context.Context, dto createDto) (*createdDto, error) {
UserId: dto.userID.ValueString(),
})
if err != nil {
var status *zoomphone.ErrorResponseStatusCode
if errors.As(err, &status) {
if status.StatusCode == 400 && status.Response.Code.Value == 300 {
_ = 1
}
}
return nil, fmt.Errorf("unable to create phone user calling plan: %v", err)
}
return &createdDto{}, nil
Expand Down

0 comments on commit dc09115

Please sign in to comment.