1
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {
|
||||
RUNTIME_BACKGROUND_AUTH_OPTIONS,
|
||||
type RuntimeRequestOptions,
|
||||
requestPublicRpgRuntimeJson,
|
||||
requestRpgRuntimeJson,
|
||||
@@ -26,7 +27,10 @@ export async function listRpgEntryWorldLibrary(
|
||||
'/custom-world-library',
|
||||
{ method: 'GET' },
|
||||
'读取自定义世界库失败',
|
||||
options,
|
||||
{
|
||||
...RUNTIME_BACKGROUND_AUTH_OPTIONS,
|
||||
...options,
|
||||
},
|
||||
);
|
||||
|
||||
return Array.isArray(response?.entries) ? response.entries : [];
|
||||
|
||||
Reference in New Issue
Block a user