Skip to content

Commit

Permalink
SGO-5 File: Upload: Automations: Avoid setting default parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewLab-lokalise committed Nov 19, 2020
1 parent 92cbcb4 commit 72aec2e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions svc_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ func (c *FileService) Upload(projectID string, file FileUpload) (r FileUploadRes
if file.CustomTranslationStatusInsertedKeys == nil {
file.CustomTranslationStatusInsertedKeys = Bool(true)
}
if file.UseAutomations == nil {
file.UseAutomations = Bool(true)
}

file.Queue = true

Expand Down

0 comments on commit 72aec2e

Please sign in to comment.