js editor + fix js runner
This commit is contained in:
+4
-1
@@ -45,4 +45,7 @@ export const findCharacterRuleBookByCharacterId = (characterId: number): Promise
|
||||
.catch(() => ({characterId, ruleBookId: '', bindings: {}}));
|
||||
|
||||
export const setCharacterRuleBookForCharacter = (characterId: number, ruleBook: SetCharacterRuleBookRequest): Promise<CharacterRuleBookResponse> => characterRuleBookApi.setCharacterRuleBookForCharacter(characterId, ruleBook)
|
||||
.then(response => response.data);
|
||||
.then(response => response.data);
|
||||
|
||||
export const fetchScriptDefinitions = (): Promise<string> =>
|
||||
ruleBookApi.getScriptDefinitions({responseType: 'text'}).then(response => response.data);
|
||||
Reference in New Issue
Block a user