mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Remove keyValidation from diff
This commit is contained in:
parent
04343b2a6c
commit
359572f4b2
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user