Skip to content

Commit

Permalink
feat: add delete by selected unit
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio Brasileiro authored and Fabio Brasileiro committed Oct 28, 2024
1 parent a8ca0a6 commit 9ddae3f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
17 changes: 4 additions & 13 deletions src/app/core/services/product.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export class ProductService {


updateProducts(formData: any): Observable<any> {
const {id}= formData
const token = localStorage.getItem('token');
const { id } = formData
const token = localStorage.getItem('token');
const headers = new HttpHeaders({
Authorization: `Bearer ${token}`,
});
Expand All @@ -33,7 +33,7 @@ export class ProductService {

deleteProducts(formData: any): Observable<any> {
const { id } = formData
const token = localStorage.getItem('token');
const token = localStorage.getItem('token');
const headers = new HttpHeaders({
Authorization: `Bearer ${token}`,
});
Expand All @@ -42,17 +42,8 @@ export class ProductService {
}

// Método para enviar os dados do produto para a API
sendDataToApi(data: any): Observable<any> {
createProducts(data: any): Observable<any> {
console.log("🚀 ~ ProductService ~ sendDataToApi ~ data:", data)
const dataNow = {
"name": "Hambuguer",
"price": 59.99,
"description": "A new product description",
"companyId": 1,
"nameCategory": "lanche",
"quantity": 100,
"imageUrl": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUTExMWFRUXGBoYFxgYGBseHhobIBsYHR0XHhsfHSggGB0lHRcaIjEhJSorLi4uFx8zODMtNygtLisBCgoKDg0OGhAQGy0lHyUtLS0tLS0uLS0tLS0vLS0tLS0tLS0tLS0tLS0vLS0tLS0vLS0tLS0tLS0tLS0tLS0tLf/AABEIALcBEwMBIgACEQEDEQH/xAAcAAACAgMBAQAAAAAAAAAAAAAEBQMGAAIHAQj/xABJEAACAQIDBAcDCQQIBQUBAAABAgMAEQQSIQUGMUETIlFhcYGRMqGxBxQjQlKSwdHwQ2KC4RUzU3KistLxY4OTwuI0RFTD0yT/xAAaAQACAwEBAAAAAAAAAAAAAAACAwEEBQAG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');
const headers = new HttpHeaders({
Authorization: `Bearer ${token}`,
Expand Down
Loading

0 comments on commit 9ddae3f

Please sign in to comment.