Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove keyValidation from diff

Neeraj Gupta359572f4b2d8
diff --git a/server/pkg/controller/authenticator/controller.go b/server/pkg/controller/authenticator/controller.go
index f42d2deafd..10b59210cc 100644
--- a/server/pkg/controller/authenticator/controller.go
+++ b/server/pkg/controller/authenticator/controller.go
@@ -82,9 +82,6 @@ func (c *Controller) Delete(ctx *gin.Context, entityID uuid.UUID) (bool, error)
// GetDiff...
func (c *Controller) GetDiff(ctx *gin.Context, req model.GetEntityDiffRequest) ([]model.Entity, error) {
- if err := c.validateKey(ctx); err != nil {
- return nil, stacktrace.Propagate(err, "failed to validateKey")
- }
userID := auth.GetUserID(ctx.Request.Header)
return c.Repo.GetDiff(ctx, userID, *req.SinceTime, req.Limit)
}