mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
override material ui theme with twitter blue
This commit is contained in:
1 parent
9fe4cf0188
commit
3d5aadc46d
4 files changed
+22
-11
No files matched your search
@@ -106,8 +106,6 @@ ESX.RegisterServerCallback('phone:getOrCreateTwitterProfile', function(source, c
|
||||
end)
|
||||
|
||||
function updateProfile(identifier, data, cb)
|
||||
print(identifier)
|
||||
print(data)
|
||||
MySQL.Async.execute('UPDATE npwd_twitter_profiles SET avatar_url = @avatar_url, profile_name = @profile_name, bio = @bio, location = @location, job = @job WHERE identifier = @identifier',
|
||||
{
|
||||
['identifier'] = identifier,
|
||||
@@ -117,7 +115,6 @@ function updateProfile(identifier, data, cb)
|
||||
['location'] = data.location,
|
||||
['job'] = data.job,
|
||||
}, function(result)
|
||||
print('result1: ', result)
|
||||
cb(result)
|
||||
end)
|
||||
end
|
||||
@@ -129,7 +126,6 @@ ESX.RegisterServerCallback('phone:updateTwitterProfile', function(source, cb, da
|
||||
local _identifier = xPlayer.getIdentifier()
|
||||
|
||||
updateProfile(_identifier, data, function(result)
|
||||
print('result2: ', result)
|
||||
cb(result)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in new issue
Block a user