Skip to content

Instantly share code, notes, and snippets.

View mynameisthunder's full-sized avatar

Omari Powell mynameisthunder

View GitHub Profile
{
"policy": {
"states": "Oregon",
"lineOfBusiness": "Commercial",
"policyLineItem": "Owner Operator",
"coverageTerm": "Annual",
"policyCategory": "Taxicabs and Limousines",
"underwritingCode": "New Business",
"agent": "Quantum Risk Solutions (QRSBRK)",
"effectiveDate": null,
@mynameisthunder
mynameisthunder / pretty.json
Last active June 29, 2022 03:15
Greg JSON
/* changes,
added name to the policy,
added
"overallPremium",
"personalInjuryProtectionPremium",
"medicalPaymentsPremium",
"underinsuredMotoristPremium",
"uninsuredMotoristPremium"
"hiredCSLPremium",
"nonOwnedCSLPremium"
@mynameisthunder
mynameisthunder / gist:a41ac40029374b312217f71085a69af2
Last active August 6, 2020 14:55
hmta api newsletter error
// the end point im hitting is https://lyricgen.hmtaapi.com/api/v1/newslettercontacts/
// it returns the current list but doesnt update it.
// if i try and update something even on the site( https://lyricgen.hmtaapi.com/api/v1/newslettercontacts/) such as
// { first_name: 'luke', newsletter: 1,} it returns a server error
async saveAndCloseOutNewletter() {
const { firstName, lastName, email } = this.state;
const body = {
first_name: firstName,
last_name: lastName,