js editor + fix js runner
This commit is contained in:
1 parent
a201a95756
commit
c444f51423
5 files changed
+79
-8
No files matched your search
@@ -23,12 +23,6 @@ const mammonAxiosInstance = axios.create({
|
||||
})
|
||||
logResource(mammonAxiosInstance)
|
||||
|
||||
export const fetchScriptDefinitions = (): Promise<string> =>
|
||||
mammonAxiosInstance.get<string>('rule-books/script-definitions', {
|
||||
responseType: 'text',
|
||||
headers: {Accept: 'text/plain'},
|
||||
}).then(response => response.data);
|
||||
|
||||
export const ledgerApi = new LedgerApi(undefined, mammonUrl, mammonAxiosInstance);
|
||||
export const transactionApi = new TransactionApi(undefined, mammonUrl, mammonAxiosInstance);
|
||||
export const characterApi = new CharacterApi(undefined, mammonUrl, mammonAxiosInstance);
|
||||
|
||||
Reference in new issue
Block a user