mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
fix(client/twitter): Fixed profile fetch
This commit is contained in:
1 parent
3304ae9a83
commit
85d4ab3c36
1 file changed
+2
-2
@@ -11,7 +11,7 @@ on(`__cfx_nui:${TwitterEvents.GET_OR_CREATE_PROFILE}`, () => {
|
||||
});
|
||||
|
||||
onNet(TwitterEvents.GET_OR_CREATE_PROFILE_SUCCESS, (profile: any) => {
|
||||
sendTwitterMessage(TwitterEvents.GET_OR_CREATE_PROFILE_SUCCESS, profile);
|
||||
sendTwitterMessage(TwitterEvents.GET_OR_CREATE_PROFILE, profile);
|
||||
});
|
||||
|
||||
onNet(TwitterEvents.GET_OR_CREATE_PROFILE_FAILURE, () => {
|
||||
@@ -61,7 +61,7 @@ on(`__cfx_nui:${TwitterEvents.FETCH_TWEETS}`, () => {
|
||||
});
|
||||
|
||||
onNet(TwitterEvents.FETCH_TWEETS_SUCCESS, (tweets: any) => {
|
||||
sendTwitterMessage(TwitterEvents.FETCH_TWEETS_SUCCESS, tweets);
|
||||
sendTwitterMessage(TwitterEvents.FETCH_TWEETS, tweets);
|
||||
});
|
||||
|
||||
onNet(TwitterEvents.FETCH_TWEETS_FAILURE, () => {
|
||||
|
||||
Reference in new issue
Block a user