From 8d985b58d3244922b79e54f90274e583494b5c8b Mon Sep 17 00:00:00 2001 From: Jibon Date: Wed, 18 Dec 2024 18:23:05 +0100 Subject: [PATCH] missed --- pkg/controllers/user.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/controllers/user.go b/pkg/controllers/user.go index a924d634..1b0cdb28 100644 --- a/pkg/controllers/user.go +++ b/pkg/controllers/user.go @@ -9,14 +9,10 @@ import ( "github.com/mynaparrot/plugnmeet-server/pkg/models" "github.com/mynaparrot/plugnmeet-server/pkg/services/db" natsservice "github.com/mynaparrot/plugnmeet-server/pkg/services/nats" - "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" ) func HandleGenerateJoinToken(c *fiber.Ctx) error { - op := protojson.UnmarshalOptions{ - DiscardUnknown: true, - } req := new(plugnmeet.GenerateTokenReq) err := op.Unmarshal(c.Body(), req) if err != nil {