Skip to content

Commit

Permalink
fix(entity-import): pass validated input to payload field (wbstack#855)
Browse files Browse the repository at this point in the history
* fix(entity-import): pass validated input to payload field

* docs: add CHANGELOG
  • Loading branch information
m90 authored Aug 1, 2024
1 parent ec2ddac commit 2d27928
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# api

## 10.11.0 - 31 July 2024
## 10x.11.1 - 1 August 2024
- Fix null `payload` field in WikiEntityImport records

## 10x.11.0 - 31 July 2024
- Bump transferbot image, allow revisioned entity ids in validation

## 10.10.0 - 30 July 2024
## 10x.10.0 - 30 July 2024
- Add Backend for Entity Import Feature T360031

## 10x.9.1 - 23 July 2024
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/WikiEntityImportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function create(Request $request): \Illuminate\Http\JsonResponse
$import = $wiki->wikiEntityImports()->create([
'status' => WikiEntityImportStatus::Pending,
'started_at' => Carbon::now(),
'payload' => $request->all(),
'payload' => $validatedInput,
]);

dispatch(new WikiEntityImportJob(
Expand Down

0 comments on commit 2d27928

Please sign in to comment.