Skip to content

Commit

Permalink
Merge pull request #1450 from mephmanx/adding-d1-binding
Browse files Browse the repository at this point in the history
updating binding form id
  • Loading branch information
jacobbednarz authored Nov 28, 2023
2 parents 7e41089 + a867ce7 commit c5a48b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/1450.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
worker_bindings: Fixing form element name for d1 binding
```
2 changes: 1 addition & 1 deletion workers_bindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ func (b WorkerD1DatabaseBinding) serialize(bindingName string) (workerBindingMet
return workerBindingMeta{
"name": bindingName,
"type": b.Type(),
"database_id": b.DatabaseID,
"id": b.DatabaseID,
}, nil, nil
}

Expand Down

0 comments on commit c5a48b6

Please sign in to comment.