From 9f3d0c2c6a55125e626b7c13f09b4644f2781653 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 25 Jul 2017 21:32:07 +0200 Subject: [PATCH] remove the fake importid --- .../com/simplemobiletools/calendar/helpers/GoogleSyncHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/GoogleSyncHandler.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/GoogleSyncHandler.kt index 1ea93dcc7..3d97f603c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/GoogleSyncHandler.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/GoogleSyncHandler.kt @@ -76,7 +76,7 @@ class GoogleSyncHandler { if (activity.isOnline()) { Thread({ try { - val googleEvent = activity.getGoogleSyncService().events().get(PRIMARY, event.importId + "qw").execute() + val googleEvent = activity.getGoogleSyncService().events().get(PRIMARY, event.importId).execute() } catch (e: GoogleJsonResponseException) { val msg = String.format(activity.getString(R.string.google_sync_error_update), e.getGoogleMessageError()) activity.toast(msg, Toast.LENGTH_LONG)