Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Stock proxy typo fix #515

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/platform/abstract/stock.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class AbstractStockProxy {
*
*/
check (sku) {
throw new Error('UserProxy::check must be implemented for specific platform')
throw new Error('StockProxy::check must be implemented for specific platform')
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/platform/magento2/stock.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import AbstractUserProxy from '../abstract/user'
import AbstractStockProxy from '../abstract/stock'
import { multiStoreConfig } from './util'

class StockProxy extends AbstractUserProxy {
class StockProxy extends AbstractStockProxy {
constructor (config, req) {
const Magento2Client = require('magento2-rest-client').Magento2Client;
super(config, req)
Expand Down