mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Poe fixed
This commit is contained in:
@@ -315,7 +315,7 @@ class Client {
|
||||
|
||||
async get_bots() {
|
||||
const viewer = this.next_data.props.pageProps.payload.viewer;
|
||||
if (!viewer.availableBots) {
|
||||
if (!viewer.availableBotsConnection) {
|
||||
throw new Error('Invalid token.');
|
||||
}
|
||||
const botList = viewer.availableBotsConnection.edges.map(x => x.node);
|
||||
|
Reference in New Issue
Block a user