update tariff plan for annual

This commit is contained in:
smanylov
2026-03-25 16:41:32 +07:00
parent 010c39e869
commit 845a3b479d
5 changed files with 73 additions and 13 deletions
+3 -2
View File
@@ -70,7 +70,7 @@ export async function getUserFilesInfo() {
}
}
export async function fetchTariffs() {
export async function fetchTariffs(tariffTerm: 'MONTHLY' | 'YEAR') {
const token = await getSessionData('token');
try {
@@ -81,7 +81,8 @@ export async function fetchTariffs() {
msg_id: 30001,
message_body: {
action: 'get',
user_token: token
user_token: token,
tariff_term: tariffTerm
}
}),
headers: {