fix(calendar): do not transmit og http status to external calendar

This commit is contained in:
Hivert Quentin
2026-06-09 10:26:58 +02:00
parent f11f34cdef
commit 3a78a3bbb4
2 changed files with 18 additions and 2 deletions
@@ -184,6 +184,10 @@ size_t curl_body_function(void *ptr, size_t size, size_t nmemb, void *buffer)
else
[result setObject: @"invalid-calendar-content" forKey: @"error"];
}
else if (status == 401)
{
[result setObject: @"need-auth" forKey: @"error"];
}
else
[result setObject: @"http-error" forKey: @"error"];
}