Skip to content

Commit

Permalink
missed
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Dec 18, 2024
1 parent 3d8d4b9 commit 8d985b5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/controllers/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8d985b5

Please sign in to comment.