From 5a35f8e62e837e5b35674dfbae468e4627c19117 Mon Sep 17 00:00:00 2001 From: mohammad Date: Thu, 24 Jul 2025 13:19:55 +0300 Subject: [PATCH] Fix booking API endpoint month format by changing separator from '/' to '-'. --- lib/utils/constants/api_const.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/constants/api_const.dart b/lib/utils/constants/api_const.dart index bbf8cccd..9367bb5e 100644 --- a/lib/utils/constants/api_const.dart +++ b/lib/utils/constants/api_const.dart @@ -147,6 +147,6 @@ abstract class ApiEndpoints { static const String bookableSpaces = '/bookable-spaces'; static const String getCalendarEvents = '/api'; static const String getBookings = - '/bookings?month={mm}%2F{yyyy}&space={space}'; + '/bookings?month={mm}-{yyyy}&space={space}'; }