I hereby claim:
- I am janmeier on github.
- I am janaagaardmeier (https://keybase.io/janaagaardmeier) on keybase.
- I have a public key whose fingerprint is 00A7 9B70 06D4 6F69 E755 8342 6C19 61CC 5A3E 0AB5
To claim this, I am signing this object:
if(req.body.action == 'unlike') { | |
//using find a | |
db.Like.findAll({ | |
where: db.Sequelize.and( | |
{Post_postId: req.body.postId}, | |
{User_userId: req.user.userId} | |
) | |
}).then(function(likes) { | |
if(likes.length > 0) { |
it('supports transactions', function() { | |
return Support.prepareTransactionTest(this.sequelize).bind({}}).then(function(sequelize) { | |
this.sequelize = sequelize; | |
this.Article = sequelize.define('Article', { 'title': DataTypes.STRING }); | |
this.Label = sequelize.define('Label', { 'text': DataTypes.STRING }); | |
this.Article.hasMany(this.Label); | |
return sequelize.sync({ force: true }); | |
}).then(function() { |
"use strict"; | |
var dox = require('dox') | |
, program = require('commander') | |
, fs = require('fs') | |
, path = require('path') | |
, git = require('git') | |
, _ = require('lodash'); | |
program |
I hereby claim:
To claim this, I am signing this object: