mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 17:14:50 +00:00
fix: always check for updates/clear cache 10 min cooldown (#7077)
This commit is contained in:
@@ -77,6 +77,10 @@ export async function get_content_items(
|
||||
return await invoke('plugin:instance|instance_get_content_items', { instanceId, cacheBehaviour })
|
||||
}
|
||||
|
||||
export async function refresh_content_updates(instanceId: string): Promise<void> {
|
||||
return await invoke('plugin:instance|instance_refresh_content_updates', { instanceId })
|
||||
}
|
||||
|
||||
// Linked modpack info returned from backend
|
||||
export interface LinkedModpackInfo {
|
||||
project: Labrinth.Projects.v2.Project
|
||||
|
||||
Reference in New Issue
Block a user