Indent
This commit is contained in:
@@ -24,6 +24,7 @@ export class DropzoneService extends BaseService {
|
||||
|
||||
public SetFavoriteDropZone(selectedDz: DropZoneResp): boolean {
|
||||
selectedDz.isFavorite = true;
|
||||
|
||||
this.http.put(`${this.apiUrl}/DropZone/AddToFavorite/${selectedDz.id}`,
|
||||
selectedDz,
|
||||
{ headers: this.headers })
|
||||
@@ -34,6 +35,7 @@ export class DropzoneService extends BaseService {
|
||||
|
||||
public RemoveFavoriteDropZone(selectedDz: DropZoneResp): boolean {
|
||||
selectedDz.isFavorite = false;
|
||||
|
||||
this.http.put(`${this.apiUrl}/DropZone/RemoveToFavorite${selectedDz.id}`,
|
||||
selectedDz,
|
||||
{ headers: this.headers })
|
||||
|
||||
@@ -18,15 +18,13 @@ export class GearService extends BaseService {
|
||||
});
|
||||
}
|
||||
|
||||
public AddGear(
|
||||
name: string,
|
||||
manufacturer: string,
|
||||
minSize: number,
|
||||
maxSize: number,
|
||||
aad: string,
|
||||
mainCanopy: string,
|
||||
reserveCanopy: string
|
||||
) {
|
||||
public AddGear(name: string,
|
||||
manufacturer: string,
|
||||
minSize: number,
|
||||
maxSize: number,
|
||||
aad: string,
|
||||
mainCanopy: string,
|
||||
reserveCanopy: string) {
|
||||
const bodyNewGear: GearReq = {
|
||||
id: 0,
|
||||
name: name,
|
||||
|
||||
@@ -24,10 +24,9 @@ export class JumpTypeService extends BaseService {
|
||||
name: jumptypetName
|
||||
};
|
||||
|
||||
this.http
|
||||
.post(`${this.apiUrl}/JumpType`, bodyJumpType, {
|
||||
headers: this.headers
|
||||
})
|
||||
.subscribe(data => console.log(data));
|
||||
this.http.post(`${this.apiUrl}/JumpType`,
|
||||
bodyJumpType,
|
||||
{ headers: this.headers })
|
||||
.subscribe(data => console.log(data));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user