Fix bookmark caching

This commit is contained in:
2023-11-18 14:41:07 +11:00
parent 9d6beadcd9
commit d611946e34
3 changed files with 4 additions and 4 deletions

View File

@@ -31,8 +31,8 @@ module Admin
posts.where(id: id).update(published_at: Time.now)
end
def update(id:, cached_content:)
posts.where(id: id).update(cached_content: cached_content)
def update(id:, params:)
posts.where(id: id).update(params)
end
end
end