We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4da02 commit 4265224Copy full SHA for 4265224
lib/financials.js
@@ -3,6 +3,7 @@ import {
3
api,
4
loadLoginCredentials,
5
sisLogin,
6
+ isLoggedIn,
7
} from '../lib/login'
8
import { AsyncStorage, NetInfo } from 'react-native'
9
@@ -52,8 +53,9 @@ async function getSisFinancialsPage() {
52
53
}
54
55
async function getFinancialDataFromServer(): Promise<FinancialDataShapeType> {
- let {username, password} = await loadLoginCredentials()
56
- let {result} = await sisLogin(username, password)
+ // let {username, password} = await loadLoginCredentials()
57
+ // let {result} = await sisLogin(username, password)
58
+ let result = await isLoggedIn()
59
if (!result) {
60
return {flex: null, ole: null, print: null}
61
0 commit comments