Skip to content

Commit

Permalink
fix(): tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye committed Dec 13, 2023
1 parent 409bcd4 commit 4d0b096
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion internal/provider/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ func NewClient(url string, username *string, password *string, jwt *string, extr
}

c.Url = url
c.KeepOriginalSource = keepOriginalSource
if keepOriginalSource != nil {
c.KeepOriginalSource = keepOriginalSource
} else {
b := true
c.KeepOriginalSource = &b
}

if (username != nil) && (password != nil) {
c.Username = username
Expand Down

0 comments on commit 4d0b096

Please sign in to comment.