fixed server bug where profile doesnt exist, updated egg image

This commit is contained in:
erik-sn committed 2020-10-03 16:36:04 -04:00
1 parent b180c4c655
commit 1e8758fb01
7 files changed
+7 -10

No files matched your search

+1 -1
View File
@@ -131,7 +131,7 @@ function createDefaultProfile(identifier, cb)
INSERT INTO npwd_twitter_profiles (`identifier`, `profile_name`)
VALUES (@identifier, @profile_name)
]],
{ identifier = identifier, profileName = profileName },
{ identifier = identifier, profile_name = profileName },
function(result)
if result == 1 then -- if we created the profile then return it
getProfile(identifier, cb)