Added api for custom timetable events
This commit is contained in:
1 parent
3eae5ba10a
commit
22db412e75
36 files changed
+849
-229
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:http/http.dart';
|
||||
import 'package:marianum_mobile/api/mhsl/mhslApi.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
import '../../mhslApi.dart';
|
||||
import 'addFeedbackParams.dart';
|
||||
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ class UpdateUserIndex extends MhslApi<void> {
|
||||
UpdateUserIndex(
|
||||
UpdateUserIndexParams(
|
||||
username: AccountData().getUsername(),
|
||||
user: AccountData().getUserId(),
|
||||
user: AccountData().getUserSecret(),
|
||||
device: await AccountData().getDeviceId(),
|
||||
appVersion: int.parse((await PackageInfo.fromPlatform()).buildNumber),
|
||||
deviceInfo: jsonEncode((await DeviceInfoPlugin().deviceInfo).data).toString(),
|
||||
|
||||
Reference in new issue
Block a user