mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
No need to async when returning promise
This commit is contained in:
@ -9181,7 +9181,7 @@ jQuery(async function () {
|
||||
}));
|
||||
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
||||
name: 'tempchat',
|
||||
callback: async () => {
|
||||
callback: () => {
|
||||
return new Promise((resolve, reject) => {
|
||||
const eventCallback = async (chatId) => {
|
||||
if (chatId) {
|
||||
|
Reference in New Issue
Block a user