Skip to content

Commit

Permalink
fix(admin-ui): use getCustomScriptType to fetch script-types
Browse files Browse the repository at this point in the history
Signed-off-by: Jeet Viramgama <jviramgama5@gmail.com>
  • Loading branch information
jv18creator committed Oct 17, 2023
1 parent f138830 commit 136990a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin-ui/plugins/admin/redux/api/ScriptApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class ScriptApi {

getCustomScriptTypes = () => {
return new Promise((resolve, reject) => {
this.api.getCustomScriptTypes((error, data) => {
this.api.getCustomScriptType((error, data) => {
handleResponse(error, reject, resolve, data)
})
})
Expand Down

0 comments on commit 136990a

Please sign in to comment.