Octavia Spencer*Octavia Spencer is ending the year on a good note as she won her case regarding a weight-loss endorsement deal gone wrong.

City News Service reports there was no lawyer from Sensa Products present in court last week when a judge granted the actress a default judgment. As a result, the judge ordered the company to pay Spencer $940,000.

“This was always about principle for our client, Ms. Spencer. She was taken advantage of by a company that is no stranger to misrepresentations,” Spencer’s attorney, Bryan Freedman told The Hollywood Reporter. “I am very proud of Octavia’s will to fight.”

The court judgment concludes months of legal drama since Spencer sued Sensa in August. In her lawsuit, the entertainer claimed Sensa wrongfully terminated her and ended its endorsement deal with her over the use of the hashtag “#spon” for “sponsored,” on tweets promoted the company’s product.

Spencer’s actions resulted in Sensa being unhappy with the result of the endorsement campaign. Spencer mentioned in the suit that Sensa blamed the “#spon” hashtag for the ineffectiveness of the campaign.

The lawsuit goes on to state that it wasn’t in Spencer’s contract to not use the hashtag or get her tweets pre-approved. Spencer claimed she did more on her part to honor the deal by permitting Sensa to use before-and-after photos of her and advertisements in tabloids despite her reluctance. In addition, Spencer said she had lost the 20 pounds that she was required to lose as part of the deal.

Despite her efforts, the lawsuit revealed that Sensa ended its deal with Spencer deal on Aug. 6 without paying her the $700,000 it still owed her.

After Spencer’s claim of breach of the covenant of good faith and fair dealing went to court, bad luck struck Sensa. The company ended up becoming insolvent after a motion was granted last month from the law firm representing the company to remove itself as Sensa’s counsel. Since then, the company has reportedly not participated in the case.

Unfortunately, given Sensa’s current financial state, it might be a while before Spencer sees any of the money from the court ruling.