|
|
@@ -309,10 +309,10 @@ export const SilverTalentsPage: React.FC = () => {
|
|
|
if (!selectedTalent) return;
|
|
|
|
|
|
try {
|
|
|
- const response = await silverTalentsAdminClient[`:${selectedTalent.id}`]['$put']({
|
|
|
+ const response = await silverTalentsAdminClient[`:id`]['$put']({
|
|
|
json: values,
|
|
|
param: {
|
|
|
- id: selectedTalent.id.toString()
|
|
|
+ id: selectedTalent.id
|
|
|
}
|
|
|
});
|
|
|
|
|
|
@@ -331,7 +331,7 @@ export const SilverTalentsPage: React.FC = () => {
|
|
|
if (!selectedTalent) return;
|
|
|
|
|
|
try {
|
|
|
- const response = await silverTalentsAdminClient[`:${selectedTalent.id}`].certification['$put']({
|
|
|
+ const response = await silverTalentsAdminClient[`:id`].certification['$put']({
|
|
|
json: {
|
|
|
certificationStatus: values.certificationStatus,
|
|
|
certificationInfo: values.certificationInfo || ''
|