Skip to content

Commit 96994f0

Browse files
committed
fix(Mobizon): stub 'getCost' method
1 parent 31e19f7 commit 96994f0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/transporters/Mobizon.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,9 @@ export default class Mobizon implements ProviderI {
112112
return res;
113113
}
114114

115-
// eslint-disable-next-line class-methods-use-this
115+
// eslint-disable-next-line
116116
async getCost() {
117-
return {
118-
cost: '',
119-
rawResponse: {},
120-
};
117+
throw new Error(`Mobizon does not support getting cost via API`);
121118
}
122119

123120
// eslint-disable-next-line class-methods-use-this

0 commit comments

Comments
 (0)