mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 11:36:05 +00:00
fix getCreds no auth is blocking api client
This commit is contained in:
@@ -129,7 +129,7 @@ const tauriApiClient = new TauriModrinthClient({
|
||||
userAgent: `modrinth/theseus/${getVersion()} (support@modrinth.com)`,
|
||||
features: [
|
||||
new AuthFeature({
|
||||
token: async () => (await getCreds()).session,
|
||||
token: async () => (await getCreds())?.session,
|
||||
}),
|
||||
new PanelVersionFeature(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user