2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 03:44:52 +00:00

98_todoist.pm: allow alphanumeric project-id

git-svn-id: https://svn.fhem.de/fhem/trunk@29618 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
marvin78 2025-02-04 09:27:06 +00:00
parent 7a9d9a6758
commit 90033470c4

View File

@ -17,7 +17,7 @@ eval "use Date::Parse;1" or $missingModule .= "Date::Parse ";
####################### #######################
# Global variables # Global variables
my $version = "1.3.26"; my $version = "1.3.28";
my $apiUrl = "https://api.todoist.com/sync/v9/"; my $apiUrl = "https://api.todoist.com/sync/v9/";
my $srandUsed; my $srandUsed;
@ -687,7 +687,7 @@ sub todoist_CreateTask($$) {
# data array for API - we could transfer more data # data array for API - we could transfer more data
%args = ( %args = (
project_id => int($hash->{PID}), project_id => $hash->{PID},
content => $titleS, content => $titleS,
); );