update the api

This commit is contained in:
2026-09-10 19:25:07 +05:30
parent bfe4d3d2f2
commit d2e090214a
8 changed files with 65 additions and 70 deletions

View File

@@ -25,8 +25,7 @@ export default async function MerchantProfilePage() {
) : (
<FeatureUnavailable
title="Business profile"
description="The platform identifies the signed-in user but does not yet expose the company record this form edits — business name, GSTIN, timezone, currency and LYT accrual. Rather than showing an editable form backed by nothing, it is held until the resource exists."
endpoints={['GET /api/settings/profile', 'PATCH /api/settings/profile']}
description="Your sign-in details are shown above. The wider company record — business name, GSTIN, registered address, timezone and currency — is not editable here yet, so this section is left out rather than offering a form that would not save."
/>
)}
</SettingsPage>