diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-04 22:55:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-08 10:12:44 +0900 |
| commit | 1e6df136d8202c8adf65948527f4c3e7583b338c (patch) | |
| tree | 7c82476f6bbbc71d72ab7e71e39559eca197fd95 /backend/gen/api/handler_wrapper_gen.go | |
| parent | 54316868c3bec1ff9b04643dfe6c13cf56bf3246 (diff) | |
| download | phperkaigi-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.go | 4 |
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, }, } } |
