From 6e323a0e4fd07d3e3dd843c4fcb102a72e6b433e Mon Sep 17 00:00:00 2001 From: Niklas Date: Mon, 16 Aug 2021 14:58:03 +0200 Subject: [PATCH] invalidate cache on move mutation --- internal/mutations.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/mutations.go b/internal/mutations.go index b593b62..0e82feb 100644 --- a/internal/mutations.go +++ b/internal/mutations.go @@ -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