继续优化重构后的逻辑
This commit is contained in:
@@ -70,12 +70,6 @@ async function loadAndCacheDetail(
|
||||
return promise
|
||||
}
|
||||
|
||||
export async function warmupDetailCache(
|
||||
conversationId: number
|
||||
): Promise<DbConversationDetail> {
|
||||
return loadAndCacheDetail(conversationId)
|
||||
}
|
||||
|
||||
export async function refreshDetailCache(
|
||||
conversationId: number
|
||||
): Promise<DbConversationDetail> {
|
||||
|
||||
Reference in New Issue
Block a user