Revert "Add connected user when updating gear"

This reverts commit 76ef368700.
This commit is contained in:
2026-05-05 23:18:03 +02:00
parent 76ef368700
commit b951c947dd
10 changed files with 1981 additions and 1934 deletions
@@ -65,33 +65,4 @@ export class GearService extends BaseService {
public getFromCache(): Observable<Array<GearResp>> {
return this.serviceCacheApi.getByKey<Array<GearResp>>(CacheApiKey.Gear);
}
public updateGear(
id: number,
name: string,
manufacturer: string,
minSize: number,
maxSize: number,
aad: string,
mainCanopy: string,
reserveCanopy: string,
equipment: string,
) {
const gearData = {
id: id,
name: name,
manufacturer: manufacturer,
minSize: minSize,
maxSize: maxSize,
aad: aad,
mainCanopy: mainCanopy,
reserveCanopy: reserveCanopy,
equipment: equipment,
};
const bodyUpdatedGear = new GearReq(gearData);
return this.http.put(`${this.apiUrl}/Gear/${id}`, bodyUpdatedGear, {
headers: this.headers,
});
}
}