web: Read() to Retrieve()

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-05-16 14:43:42 +02:00
parent cac1f242dc
commit 3ab7588b73
67 changed files with 140 additions and 353 deletions

View File

@ -14,7 +14,7 @@ import { ModelForm } from "../../../elements/forms/ModelForm";
export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
loadInstance(pk: string): Promise<SAMLSource> {
return new SourcesApi(DEFAULT_CONFIG).sourcesSamlRead({
return new SourcesApi(DEFAULT_CONFIG).sourcesSamlRetrieve({
slug: pk,
});
}