Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
joxpulp committed Sep 23, 2021
1 parent ff343c3 commit e139b84
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Knex } from 'knex';

export async function up(knex: Knex) {
export async function up(knex) {
return knex.schema
.createTable('productos', (productsTable) => {
productsTable.increments();
Expand All @@ -22,6 +21,6 @@ export async function up(knex: Knex) {
});
}

export async function down(knex: Knex) {
export async function down(knex) {
return knex.schema.dropTable('productos').dropTable('carrito');
}
6 changes: 3 additions & 3 deletions src/models/products/DAO/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export class ProductDAOFirebase {
constructor() {
firebase.initializeApp({
credential: firebase.credential.cert({
privateKey: `${CONFIG.FIREBASE_PRIVATEKEY}`,
clientEmail: `${CONFIG.FIREBASE_CLIENTEMAIL}`,
projectId: `${CONFIG.FIREBASE_PROJECTID}`,
privateKey: CONFIG.FIREBASE_PRIVATEKEY,
clientEmail: CONFIG.FIREBASE_CLIENTEMAIL,
projectId: CONFIG.FIREBASE_PROJECTID,
}),
databaseURL: `https://${CONFIG.FIREBASE_DBURL}`,
});
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@

/* Advanced Options */
"skipLibCheck": true /* Skip type checking of declaration files. */,
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
}
}

0 comments on commit e139b84

Please sign in to comment.