Thinkei/employmenthero-go

Add sync.Mutex to Client to prevent race conditions

Closed this issue · 0 comments

Describe

To prevent race conditions from happening when multiple processes use the same client instance to make the request. From this point, the client instance has to handle the race condition inside its SendWithAuth method