aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/gen/api/handler_wrapper_gen.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-04 22:55:01 +0900
committernsfisis <nsfisis@gmail.com>2025-03-08 10:12:44 +0900
commit1e6df136d8202c8adf65948527f4c3e7583b338c (patch)
tree7c82476f6bbbc71d72ab7e71e39559eca197fd95 /backend/gen/api/handler_wrapper_gen.go
parent54316868c3bec1ff9b04643dfe6c13cf56bf3246 (diff)
downloadphperkaigi-2025-albatross-1e6df136d8202c8adf65948527f4c3e7583b338c.tar.gz
phperkaigi-2025-albatross-1e6df136d8202c8adf65948527f4c3e7583b338c.tar.zst
phperkaigi-2025-albatross-1e6df136d8202c8adf65948527f4c3e7583b338c.zip
websocket to polling
Diffstat (limited to 'backend/gen/api/handler_wrapper_gen.go')
-rw-r--r--backend/gen/api/handler_wrapper_gen.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/gen/api/handler_wrapper_gen.go b/backend/gen/api/handler_wrapper_gen.go
index 2e02691..6437f36 100644
--- a/backend/gen/api/handler_wrapper_gen.go
+++ b/backend/gen/api/handler_wrapper_gen.go
@@ -117,11 +117,11 @@ type HandlerWrapper struct {
impl Handler
}
-func NewHandler(queries *db.Queries, hubs GameHubsInterface) *HandlerWrapper {
+func NewHandler(queries *db.Queries, hub GameHubInterface) *HandlerWrapper {
return &HandlerWrapper{
impl: Handler{
q: queries,
- hubs: hubs,
+ hub: hub,
},
}
}