Fix Google's Records.json import

This commit is contained in:
Eugene Burmakin 2024-08-14 20:12:24 +02:00
parent 4439e06f2d
commit 8197624d5e
3 changed files with 8 additions and 2 deletions

View file

@ -1 +1 @@
0.9.10
0.9.11

View file

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.9.11] — 2024-08-14
### Fixed
- A bug where an attempt to import a Google's Records.json file was failing due to wrong object being passed to a background worker
## [0.9.10] — 2024-08-14
### Added

View file

@ -23,7 +23,7 @@ class Tasks::Imports::GoogleRecords
private
def create_import
@user.imports.create(name: @file_path, source: :google_records)
@user.imports.create(name: @file_path, source: :google_records).id
end
def read_file