js editor
This commit is contained in:
1 parent
023693c4c8
commit
b32169f433
6 files changed
+132
-13
No files matched your search
@@ -23,6 +23,12 @@ 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