invalidate cache on move mutation

This commit is contained in:
Niklas 2021-08-16 14:58:03 +02:00
parent 3c8ece72cc
commit 6e323a0e4f

View File

@ -96,6 +96,8 @@ func moveMutation(ctx context.Context, src, dest string) (*File, error) {
return nil, err
}
invalidateCache(ctx, info.Key)
return &File{
ID: info.Key,
}, nil