Created
December 12, 2017 02:22
-
-
Save mfifth/3fc203da1a65132e308a877846b7a353 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const firebase = require('firebase-admin'); | |
function get_artist_by_username(username){ | |
firebase.database().ref('artists').where('artist_name', '==', data['vendor']).then(res => { | |
return res | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment