Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
teknikattan-scoring-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tddd96-grupp1
teknikattan-scoring-system
Commits
31725d79
Commit
31725d79
authored
4 years ago
by
Albin Henriksson
Browse files
Options
Downloads
Patches
Plain Diff
#7
: Finished up and cleaned up files
parent
1858caad
No related branches found
No related tags found
1 merge request
!12
Issue/7 add test coverage report
Pipeline
#34180
passed
4 years ago
Stage: setup
Stage: test
Stage: coverage_report
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/src/App.tsx
+1
-0
1 addition, 0 deletions
client/src/App.tsx
server/app/api/users.py
+9
-5
9 additions, 5 deletions
server/app/api/users.py
with
10 additions
and
5 deletions
client/src/App.tsx
+
1
−
0
View file @
31725d79
...
...
@@ -6,6 +6,7 @@ import logo from './logo.svg'
interface
Message
{
message
:
string
}
const
App
:
React
.
FC
=
()
=>
{
const
[
currentMessage
,
setCurrentMessage
]
=
useState
<
Message
>
()
useEffect
(()
=>
{
...
...
This diff is collapsed.
Click to expand it.
server/app/api/users.py
+
9
−
5
View file @
31725d79
...
...
@@ -3,12 +3,16 @@ import datetime
from
app
import
db
from
app.api
import
api_blueprint
from
app.database.models
import
Blacklist
,
User
from
app.utils.validator
import
(
edit_user_schema
,
login_schema
,
register_schema
,
validateObject
)
from
app.utils.validator
import
edit_user_schema
,
login_schema
,
register_schema
,
validateObject
from
flask
import
request
from
flask_jwt_extended
import
(
create_access_token
,
create_refresh_token
,
get_jwt_identity
,
get_raw_jwt
,
jwt_refresh_token_required
,
jwt_required
)
from
flask_jwt_extended
import
(
create_access_token
,
create_refresh_token
,
get_jwt_identity
,
get_raw_jwt
,
jwt_refresh_token_required
,
jwt_required
,
)
def
get_current_user
():
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment