pub async fn update_signer<J, RR, TR, NR, NFR, SR, TCR, PR>(
_signer_id: String,
_request: SignerUpdateRequest,
_state: ThinDataAppState<J, RR, TR, NR, NFR, SR, TCR, PR>,
) -> Result<HttpResponse, ApiError>where
J: JobProducerTrait + Send + Sync + 'static,
RR: RelayerRepository + Repository<RelayerRepoModel, String> + Send + Sync + 'static,
TR: TransactionRepository + Repository<TransactionRepoModel, String> + Send + Sync + 'static,
NR: NetworkRepository + Repository<NetworkRepoModel, String> + Send + Sync + 'static,
NFR: Repository<NotificationRepoModel, String> + Send + Sync + 'static,
SR: Repository<SignerRepoModel, String> + Send + Sync + 'static,
TCR: TransactionCounterTrait + Send + Sync + 'static,
PR: PluginRepositoryTrait + Send + Sync + 'static,
Expand description
Updates an existing signer.
§Arguments
signer_id
- The ID of the signer to update.request
- The signer update request.state
- The application state containing the signer repository.
§Returns
An error indicating that updates are not allowed.
§Note
Signer updates are not supported for security reasons. To modify a signer, delete the existing one and create a new signer with the desired configuration.