From 477cc2912de6aa85dcdac52b65385432bc3a9069 Mon Sep 17 00:00:00 2001 From: Chris Lyons <52037738+mephmanx@users.noreply.github.com> Date: Mon, 27 Nov 2023 21:00:41 +0000 Subject: [PATCH 1/2] updating binding form id --- workers_bindings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers_bindings.go b/workers_bindings.go index c32cc271549..c362df576f8 100644 --- a/workers_bindings.go +++ b/workers_bindings.go @@ -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 } From a867ce70f6889c7d7c72a59e07330491b0ef5adc Mon Sep 17 00:00:00 2001 From: Chris Lyons <52037738+mephmanx@users.noreply.github.com> Date: Mon, 27 Nov 2023 21:26:37 +0000 Subject: [PATCH 2/2] updating binding form id Signed-off-by: Chris Lyons <52037738+mephmanx@users.noreply.github.com> --- .changelog/1450.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/1450.txt diff --git a/.changelog/1450.txt b/.changelog/1450.txt new file mode 100644 index 00000000000..660b97d1cde --- /dev/null +++ b/.changelog/1450.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +worker_bindings: Fixing form element name for d1 binding +``` \ No newline at end of file