Skip to content

Instantly share code, notes, and snippets.

@brittanydionigi
Created January 30, 2020 02:18
Show Gist options
  • Save brittanydionigi/4fabd0f47847f1e2dc8a7d4e0fb31c52 to your computer and use it in GitHub Desktop.
Save brittanydionigi/4fabd0f47847f1e2dc8a7d4e0fb31c52 to your computer and use it in GitHub Desktop.
if body.Status == nil {
body.Status = "ACTIVE"
}
# invalid operation: body.Status == nil (mismatched types string and nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment