Skip to content

Commit 1f9f636

Browse files
committed
fix: Api methods were changed
1 parent a7d4410 commit 1f9f636

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/init/initJsonApiPlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export function initJsonApiPlugin (config) {
2121
api.setBaseUrl(config.baseUrl)
2222
}
2323

24-
if (checkConfigProperty(config, 'preprocessingCallbacks', false)) {
25-
api.setPreprocessingCallbacks(config.preprocessingCallbacks)
24+
if (checkConfigProperty(config, 'successCallbacks', false)) {
25+
api.setSuccessCallbacks(config.successCallbacks)
2626
}
2727

2828
if (checkConfigProperty(config, 'errorCallbacks', false)) {

0 commit comments

Comments
 (0)