mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
98_todoist.pm: bugfix for tid
git-svn-id: https://svn.fhem.de/fhem/trunk@27353 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
97ddd0982b
commit
117d2f9b6e
@ -17,7 +17,7 @@ eval "use Date::Parse;1" or $missingModule .= "Date::Parse ";
|
|||||||
|
|
||||||
#######################
|
#######################
|
||||||
# Global variables
|
# Global variables
|
||||||
my $version = "1.3.17";
|
my $version = "1.3.18";
|
||||||
my $apiUrl = "https://api.todoist.com/sync/v9/";
|
my $apiUrl = "https://api.todoist.com/sync/v9/";
|
||||||
|
|
||||||
my $srandUsed;
|
my $srandUsed;
|
||||||
@ -383,9 +383,10 @@ sub todoist_UpdateTask($$$) {
|
|||||||
my $method;
|
my $method;
|
||||||
my $taskId=0;
|
my $taskId=0;
|
||||||
my $title;
|
my $title;
|
||||||
|
my $tid;
|
||||||
|
|
||||||
## get Task-ID
|
## get Task-ID
|
||||||
my $tid = @$a[0];
|
$tid = @$a[0];
|
||||||
|
|
||||||
## check if ID is todoist ID (ID:.*) or title (TITLE:.*)
|
## check if ID is todoist ID (ID:.*) or title (TITLE:.*)
|
||||||
my @temp=split(":",$tid);
|
my @temp=split(":",$tid);
|
||||||
|
Loading…
Reference in New Issue
Block a user