1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

expiration_date of a subscription is not correct in the OpenAPI

This commit is contained in:
Du Peng 2024-04-29 10:39:44 +02:00
parent c9557c7f58
commit 84f83564bc
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@
- Fix a bug: unable to show Fabmanager network project picture
- Fix a bug: availability slot date error in calendar when user pc timezone is different from server timezone
- Fix a bug: expiration_date of a subscription is not correct in the OpenAPI
## v6.3.20 2024 Avril 15

View File

@ -1,6 +1,7 @@
# frozen_string_literal: true
json.subscriptions @subscriptions do |subscription|
json.extract! subscription, :id, :created_at, :expiration_date, :canceled_at, :plan_id
json.extract! subscription, :id, :created_at, :canceled_at, :plan_id
json.user_id subscription.statistic_profile.user_id
json.expiration_date subscription.expired_at
end