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

@ -18,7 +18,7 @@ import { ModelForm } from "../../elements/forms/ModelForm";
export class ApplicationForm extends ModelForm<Application, string> {
loadInstance(pk: string): Promise<Application> {
return new CoreApi(DEFAULT_CONFIG).coreApplicationsRead({
return new CoreApi(DEFAULT_CONFIG).coreApplicationsRetrieve({
slug: pk
});
}