feat(contracts): add gateway service seams and protobuf toolchain

This commit is contained in:
sam committed 2026-09-05 22:58:00 +10:00
1 parent c0a91c011c
commit 34cb25f130
1 file changed
+1 -5
+1 -5
View File
@@ -9,9 +9,5 @@ func testChatService(router *gateway.Router, sessions gateway.SessionStore, turn
}
func testLocalChat(service *ChatService) *gateway.LocalChatAdapter {
local, ok := service.Contract.(*gateway.LocalChatAdapter)
if !ok {
panic("test ChatService does not use LocalChatAdapter")
}
return local
return service.Contract.(*gateway.LocalChatAdapter)
}