Skip to content

Commit

Permalink
(lint) enforce the consistent use of either backticks, double, or sin…
Browse files Browse the repository at this point in the history
…gle quotes (quotes)
  • Loading branch information
guilhermeborgesbastos committed Jan 14, 2022
1 parent 7f334de commit fd92b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/contact/contact.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { AngularFirestore, DocumentReference } from "@angular/fire/compat/firest
import { Contact } from "../model/contact.model";
import { Injectable } from "@angular/core";

@Injectable({ providedIn: 'root' })
@Injectable({ providedIn: "root" })
export class ContactService {

constructor(private database: AngularFirestore) { }

createContact(contact: Contact): Promise<DocumentReference> {
return this.database.collection<Contact>("contacts").add(contact);
}
}
}

0 comments on commit fd92b14

Please sign in to comment.