Skip to content

Commit

Permalink
Merge pull request #1634 from stakwork/fix/payments
Browse files Browse the repository at this point in the history
workspace
  • Loading branch information
elraphty authored May 7, 2024
2 parents 7d4c4e5 + 39bf36b commit acae85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/workspaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (db database) CreateWorkspaceBudget(budget NewBountyBudget) NewBountyBudget
}

func (db database) UpdateWorkspaceBudget(budget NewBountyBudget) NewBountyBudget {
db.db.Model(&NewBountyBudget{}).Where("workspace_uuid = ?", budget.OrgUuid).Updates(map[string]interface{}{
db.db.Model(&NewBountyBudget{}).Where("workspace_uuid = ?", budget.WorkspaceUuid).Updates(map[string]interface{}{
"total_budget": budget.TotalBudget,
})
return budget
Expand Down

0 comments on commit acae85b

Please sign in to comment.