We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a83e4d8 commit bba3889Copy full SHA for bba3889
1 file changed
samples/angular/MusicStore/wwwroot/ng-app/components/admin/album-edit/album-edit.ts
@@ -69,7 +69,7 @@ export class AlbumEdit {
69
var albumId = this.originalAlbum.AlbumId;
70
71
this._putJson(`/api/albums/${ albumId }/update`, this.form.value).subscribe(response => {
72
- if (response.status === 200) {
+ if (response.ok) {
73
this.changesSaved = true;
74
} else {
75
AspNet.Validation.showValidationErrors(response, this.form);
0 commit comments