Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beasy-mobile
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
G
beasy-mobile
Commits
c666da75
Commit
c666da75
authored
Jul 02, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Types -> types. success -> succes
parent
6c2102e9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
8 deletions
+6
-8
UserAuthenticationContext.tsx
src/contexts/UserAuthenticationContext.tsx
+2
-2
UserProfileScreen.tsx
src/screens/UserProfileScreen.tsx
+1
-3
getPaymentTypes.ts
src/utils/requests/getPaymentTypes.ts
+1
-1
transactions.ts
src/utils/requests/transactions.ts
+1
-1
types.ts
src/utils/requests/types.ts
+1
-1
No files found.
src/contexts/UserAuthenticationContext.tsx
View file @
c666da75
...
...
@@ -27,7 +27,7 @@ export const UserAuthenticationContext = createContext<UserAuthenticationContext
code
:
""
,
adresse
:
""
,
// biome-ignore lint/style/useNamingConvention: <Api response>
url_succes
s
:
""
,
url_succes
:
""
,
// biome-ignore lint/style/useNamingConvention: <Api response>
url_echec
:
""
,
entreprise
:
0
,
...
...
@@ -57,7 +57,7 @@ export const UserAuthenticationContextProvider = ({ children }: { children: Reac
code
:
"BEASY-EXAMPLE-1"
,
adresse
:
"Plateau 2, 1023, Immeuble Chardy"
,
// biome-ignore lint/style/useNamingConvention: <Api response>
url_succes
s
:
"https://example.com/success"
,
url_succes
:
"https://example.com/success"
,
// biome-ignore lint/style/useNamingConvention: <Api response>
url_echec
:
"https://example.com/echec"
,
entreprise
:
0
,
...
...
src/screens/UserProfileScreen.tsx
View file @
c666da75
...
...
@@ -138,9 +138,7 @@ const UserProfileScreen = () => {
<
Text
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
Url succès
</
Text
>
<
Text
textAlign=
{
"center"
}
>
{
userInformations
.
marchand
.
url_success
}
</
Text
>
<
Text
textAlign=
{
"center"
}
>
{
userInformations
.
marchand
.
url_succes
}
</
Text
>
</
Box
>
<
Box
width=
{
"100%"
}
...
...
src/utils/requests/getPaymentTypes.ts
View file @
c666da75
import
{
LOG
}
from
"@logger"
;
import
base64
from
"react-native-base64"
;
import
axiosRequest
from
"../axios-request"
;
import
type
{
IpaginatedResponse
,
IpaymentType
}
from
"./
T
ypes"
;
import
type
{
IpaginatedResponse
,
IpaymentType
}
from
"./
t
ypes"
;
const
basictoken
=
base64
.
encode
(
"admin:admin"
);
...
...
src/utils/requests/transactions.ts
View file @
c666da75
import
{
LOG
}
from
"@logger"
;
import
base64
from
"react-native-base64"
;
import
axiosRequest
from
"../axios-request"
;
import
type
{
PaymentCode
}
from
"./
T
ypes"
;
import
type
{
PaymentCode
}
from
"./
t
ypes"
;
const
log
=
LOG
.
extend
(
"transactions"
);
...
...
src/utils/requests/types.ts
View file @
c666da75
...
...
@@ -20,7 +20,7 @@ export interface ImerchandInformations {
code
:
string
;
adresse
:
string
;
// biome-ignore lint/style/useNamingConvention: <Api response>
url_succes
s
:
string
;
url_succes
:
string
;
// biome-ignore lint/style/useNamingConvention: <Api response>
url_echec
:
string
;
entreprise
:
number
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment