Skip to content

Commit

Permalink
fix invalid key ns error
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Feb 15, 2024
1 parent b7384c0 commit 81cffe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/v2/ProductController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export class ProductController extends Controller {
@Body() body: Product,
@Request() request: any
): Promise<BatchResult> {
body['namespace'] = ns;
return await syncRecordsThrowErrors(
this.keystone.createContext(request),
'Product',
Expand Down

0 comments on commit 81cffe8

Please sign in to comment.