Skip to content

Commit

Permalink
refactor(nextcloud)!: Remove non-working language parameter in Nextcl…
Browse files Browse the repository at this point in the history
…oudClient

Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Apr 11, 2024
1 parent 4edb375 commit ceb2858
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/nextcloud/lib/src/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ class NextcloudClient extends DynamiteClient {
String? loginName,
String? password,
String? appPassword,
String? language,
String? userAgent,
super.httpClient,
super.cookieJar,
}) : super(
baseHeaders: {
if (language != null) HttpHeaders.acceptLanguageHeader: language,
if (userAgent != null) HttpHeaders.userAgentHeader: userAgent,
},
authentications: [
Expand Down

0 comments on commit ceb2858

Please sign in to comment.